diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2016-02-03 10:18:14 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2016-02-03 10:23:43 +0100 |
commit | 5944fdcc7390fb3a619235d3c4b7f7ef34bc0f8a (patch) | |
tree | 106ded4df78f6a679751325e752ffdf616aeaa03 | |
parent | 498566799618cba7d0e7b22140673f0582814054 (diff) | |
download | libtool-5944fdcc7390fb3a619235d3c4b7f7ef34bc0f8a.tar.gz |
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
-rwxr-xr-x | bootstrap | 4 | ||||
-rw-r--r-- | gl/build-aux/options-parser | 4 | ||||
-rw-r--r-- | gl/modules/funclib.sh | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -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 02b6e060..2fecae96 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 be23e275..abb1d41f 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 <gary@gnu.org> |