summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2016-02-03 10:18:14 +0100
committerPavel Raiskup <praiskup@redhat.com>2016-02-03 10:23:43 +0100
commit5944fdcc7390fb3a619235d3c4b7f7ef34bc0f8a (patch)
tree106ded4df78f6a679751325e752ffdf616aeaa03
parent498566799618cba7d0e7b22140673f0582814054 (diff)
downloadlibtool-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-xbootstrap4
-rw-r--r--gl/build-aux/options-parser4
-rw-r--r--gl/modules/funclib.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index aa3a8b89..41b8a751 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 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>