summaryrefslogtreecommitdiffstats
path: root/bin/install-sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install-sh')
-rwxr-xr-xbin/install-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/install-sh b/bin/install-sh
index e9de238..b41a245 100755
--- a/bin/install-sh
+++ b/bin/install-sh
@@ -120,7 +120,7 @@ if [ x"$dir_arg" != x ]; then
instcmd=:
chmodcmd=""
else
- instcmd=mkdir
+ instcmd=$mkdirprog
fi
else
@@ -163,8 +163,8 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
-defaultIFS='
-'
+defaultIFS='
+ '
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"