]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
gl: minor typo fixes
authorPavel Raiskup <praiskup@redhat.com>
Wed, 3 Feb 2016 09:18:14 +0000 (10:18 +0100)
committerPavel Raiskup <praiskup@redhat.com>
Wed, 3 Feb 2016 09:23:43 +0000 (10:23 +0100)
* gl/build-aux/options-parser (func_run_hooks):
s/funcions.n./functions./, s/$@/${1+"$@"}/.
* gl/modules/funclib.sh: Sync license metadata with real module
code.
* bootstrap: Sync with funclib.sh

bootstrap
gl/build-aux/options-parser
gl/modules/funclib.sh

index aa3a8b897f8d17f08b1279fdfeea567d2d5c21db..41b8a7518c1bb53244cce1c204f680d7a63953fa 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1813,13 +1813,13 @@ func_run_hooks ()
 
     case " $hookable_fns " in
       *" $1 "*) ;;
-      *) func_fatal_error "'$1' does not support hook funcions.n" ;;
+      *) func_fatal_error "'$1' does not support hook functions." ;;
     esac
 
     eval _G_hook_fns=\$$1_hooks; shift
 
     for _G_hook in $_G_hook_fns; do
-      if eval $_G_hook '"$@"'; then
+      if eval $_G_hook '${1+"$@"}'; then
         # store returned options list back into positional
         # parameters for next 'cmd' execution.
         eval _G_hook_result=\$${_G_hook}_result
index 02b6e06037f2d33fd00507a27948c092c0900659..2fecae96543b5c479c26667fc80c1f6081047289 100644 (file)
@@ -165,13 +165,13 @@ func_run_hooks ()
 
     case " $hookable_fns " in
       *" $1 "*) ;;
-      *) func_fatal_error "'$1' does not support hook funcions.n" ;;
+      *) func_fatal_error "'$1' does not support hook functions." ;;
     esac
 
     eval _G_hook_fns=\$$1_hooks; shift
 
     for _G_hook in $_G_hook_fns; do
-      if eval $_G_hook '"$@"'; then
+      if eval $_G_hook '${1+"$@"}'; then
         # store returned options list back into positional
         # parameters for next 'cmd' execution.
         eval _G_hook_result=\$${_G_hook}_result
index be23e275a29c3e3032a667293d678fb43d75b4d8..abb1d41fac1829b34aa0492f989a9d83d585ee5b 100644 (file)
@@ -13,7 +13,7 @@ Makefile.am:
 Include:
 
 License:
-GPLv2+
+GPLv3+
 
 Maintainer:
 Gary V. Vaughan <gary@gnu.org>