about summary refs log tree commit diff
path: root/Config/installfns.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Config/installfns.sh')
-rwxr-xr-xConfig/installfns.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config/installfns.sh b/Config/installfns.sh
index 886185409..ccbeae6d5 100755
--- a/Config/installfns.sh
+++ b/Config/installfns.sh
@@ -2,7 +2,7 @@
 
 fndir=$DESTDIR$fndir
 
-$sdir_top/mkinstalldirs $fndir || exit 1;
+/bin/sh $sdir_top/mkinstalldirs $fndir || exit 1;
 
 allfuncs="`grep ' functions=.' ${dir_top}/config.modules |
   sed -e '/^#/d' -e '/ link=no/d' -e 's/^.* functions=//'`"
@@ -32,7 +32,7 @@ for file in $allfuncs; do
     else
       instdir="$fndir"
     fi
-    test -d $instdir || $sdir_top/mkinstalldirs $instdir || exit 1
+    test -d $instdir || /bin/sh $sdir_top/mkinstalldirs $instdir || exit 1
     $INSTALL_DATA $sdir_top/$file $instdir || exit 1
   fi
 done