about summary refs log tree commit diff
path: root/Config
diff options
context:
space:
mode:
Diffstat (limited to 'Config')
-rw-r--r--Config/config.mk4
-rwxr-xr-xConfig/installfns.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/Config/config.mk b/Config/config.mk
index 8e5c59c88..476ced11d 100644
--- a/Config/config.mk
+++ b/Config/config.mk
@@ -35,8 +35,8 @@ $(dir_top)/Config/defs.mk $(dir_top)/Config/version.mk
 
 Makefile: Makefile.in $(dir_top)/config.status $(CONFIG_INCS)
 	cd $(dir_top) && \
-	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
+	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
 $(dir_top)/Config/defs.mk: $(sdir_top)/Config/defs.mk.in $(dir_top)/config.status
 	cd $(dir_top) && \
-	  CONFIG_FILES=Config/defs.mk CONFIG_HEADERS= ./config.status
+	  CONFIG_FILES=Config/defs.mk CONFIG_HEADERS= $(SHELL) ./config.status
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