From: Pavel Raiskup Date: Wed, 3 Feb 2016 09:18:14 +0000 (+0100) Subject: gl: minor typo fixes X-Git-Tag: v2.4.7~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5944fdcc7390fb3a619235d3c4b7f7ef34bc0f8a;p=thirdparty%2Flibtool.git gl: minor typo fixes * 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 --- diff --git a/bootstrap b/bootstrap index aa3a8b897..41b8a7518 100755 --- 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 diff --git a/gl/build-aux/options-parser b/gl/build-aux/options-parser index 02b6e0603..2fecae965 100644 --- a/gl/build-aux/options-parser +++ b/gl/build-aux/options-parser @@ -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 diff --git a/gl/modules/funclib.sh b/gl/modules/funclib.sh index be23e275a..abb1d41fa 100644 --- a/gl/modules/funclib.sh +++ b/gl/modules/funclib.sh @@ -13,7 +13,7 @@ Makefile.am: Include: License: -GPLv2+ +GPLv3+ Maintainer: Gary V. Vaughan