for the sake of OSF1/Tru64's shell.
Report from He Li.
+2004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/install-sh: Do not use "$@" in a context where it may be empty,
+ for the sake of OSF1/Tru64's shell.
+ Report from He Li.
+
2004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
H.J. Lu hjl@lucon.org
H.Merijn Brand h.m.brand@hccnet.nl
Harlan Stenn Harlan.Stenn@pfcs.com
+He Li tippa000@yahoo.com
Henrik Frystyk Nielsen frystyk@w3.org
Ian Lance Taylor ian@cygnus.com
Imacat imacat@mail.imacat.idv.tw
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2004-01-08.23
+scriptversion=2004-01-12.10
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
- shift
if test -n "$dstarg"; then
+ # $@ is not empty: it contains at least $arg.
set fnord "$@" "$dstarg"
- shift
+ shift # fnord
fi
+ shift # arg
dstarg=$arg
done
break;;