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
This commit is contained in:
Pavel Raiskup 2016-02-03 10:18:14 +01:00
parent 4985667996
commit 5944fdcc73
3 changed files with 5 additions and 5 deletions

View File

@ -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

View 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

View File

@ -13,7 +13,7 @@ Makefile.am:
Include:
License:
GPLv2+
GPLv3+
Maintainer:
Gary V. Vaughan <gary@gnu.org>