sh standard. It seems its a shortcut for
"for arg in "$@" ; do".
Detected on Solaris with very restricted /bin/sh.
Seems to work fine for arguments with embedded
whitespace.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1239026 13f79535-47bb-0310-9956-
ffa450edef68
echo "install.sh: no destination specified"
exit 1
fi
-for arg ; do
+for arg in "$@" ; do
dstarg="$arg"
done
SH_LIBTOOL=`echo $1 | sed -e 's/^SH_LIBTOOL=//'`
shift
# get last arg
-for arg ; do
+for arg in "$@" ; do
DSOARCHIVES="$DSOARCHIVES $TARGETDIR"
TARGETDIR=$arg
done