about summary refs log tree commit diff
path: root/Config/installfns.sh
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-21 05:46:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-21 05:46:19 +0000
commit79db4326858edc58158b2fd0241e71bd727e23a0 (patch)
tree72039eb6c8d92df7ef45a4fb3ebb8b82702593c0 /Config/installfns.sh
parenteb23336a58ae91a4ab5ce1fb96d1cdfea7691e13 (diff)
downloadzsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.gz
zsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.xz
zsh-79db4326858edc58158b2fd0241e71bd727e23a0.zip
manual/7459
Diffstat (limited to 'Config/installfns.sh')
-rwxr-xr-xConfig/installfns.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Config/installfns.sh b/Config/installfns.sh
index de7a52bce..2aa20bb32 100755
--- a/Config/installfns.sh
+++ b/Config/installfns.sh
@@ -4,7 +4,7 @@ if test -d $fndir.old; then
   add_old=1
 fi
 
-$sdir_top/mkinstalldirs $fndir || exit 1;
+$sdir_top/mkinstalldirs $DESTDIR$fndir || exit 1;
 
 # If the source directory is somewhere else, we need to force
 # the shell to expand it in that directory, then strip it off.
@@ -36,8 +36,8 @@ for file in $install; do
         : ${add_old:=1}
       fi
     fi
-    $sdir_top/mkinstalldirs $instdir || exit 1
-    $INSTALL_DATA $sdir/$file $instdir || exit 1
+    $sdir_top/mkinstalldirs $DESTDIR$instdir || exit 1
+    $INSTALL_DATA $sdir/$file $DESTDIR$instdir || exit 1
   fi
 done