Fix previous patch, and tweak references to $0.
authorEric Blake <ebb9@byu.net>
Fri, 26 Sep 2008 20:47:41 +0000 (14:47 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 27 Sep 2008 22:51:54 +0000 (16:51 -0600)
commitbf236140fa6a1c6f2ca5a3f5611c6f9ddea0fb58
tree83dca858c738af7d8c101015585a8af042f552a2
parent4640ec2f862cf1e3109270db86668f0b8e9ee710
Fix previous patch, and tweak references to $0.

* posix-modules: Call func_gnulib_dir before using $gnulib_dir.
(func_version, func_gnulib_dir): Don't call this program
gnulib-tool.
(func_gnulib_dir, func_tmpdir, func_fatal_error): Avoid shell bugs
with using $0 in function.
* gnulib-tool (func_gnulib_dir, func_tmpdir): Likewise.
(func_fatal_error): Reuse the name the user invoked us with.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
gnulib-tool
posix-modules