Commit fac8f7fc authored by Rainer Jung's avatar Rainer Jung
Browse files

Addition to r1237447: "for arg ; do" is not

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
parent a359422c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ if test $# -eq 1 ; then
    echo "install.sh: no destination specified"
    exit 1
fi
for arg ; do
for arg in "$@" ; do
    dstarg="$arg"
done

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ fi
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