about summary refs log tree commit diff
path: root/Src/mkmakemod.sh
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-05-20 10:59:27 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-05-20 10:59:27 +0000
commit7270c28a3992a1a386bc491f0f026080bb88387e (patch)
tree5b2b0e8569b73f7b532a4dfa4fbbbf3d3e2296da /Src/mkmakemod.sh
parent2e7937686a26c0c227112f8310e11d193257b10f (diff)
downloadzsh-7270c28a3992a1a386bc491f0f026080bb88387e.tar.gz
zsh-7270c28a3992a1a386bc491f0f026080bb88387e.tar.xz
zsh-7270c28a3992a1a386bc491f0f026080bb88387e.zip
14401: workaround for script execution under Cygwin
Diffstat (limited to 'Src/mkmakemod.sh')
-rw-r--r--Src/mkmakemod.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/mkmakemod.sh b/Src/mkmakemod.sh
index e80e65819..a912a307b 100644
--- a/Src/mkmakemod.sh
+++ b/Src/mkmakemod.sh
@@ -320,7 +320,7 @@ if $first_stage; then
 	    ;; esac
 	    instsubdir=`echo $name | sed 's,^,/,;s,/[^/]*$,,'`
 	    echo "install.modules.${mddname}: ${mddname}.\$(DL_EXT)"
-	    echo "	\$(sdir_top)/mkinstalldirs \$(DESTDIR)\$(MODDIR)${instsubdir}"
+	    echo "	\$(SHELL) \$(sdir_top)/mkinstalldirs \$(DESTDIR)\$(MODDIR)${instsubdir}"
 	    echo "	\$(INSTALL_PROGRAM) \$(STRIPFLAGS) ${mddname}.\$(DL_EXT) \$(DESTDIR)\$(MODDIR)/${name}.\$(DL_EXT)"
 	    echo
 	    echo "uninstall.modules.${mddname}:"
@@ -472,7 +472,7 @@ if $second_stage; then
     # tree, this is a problem.  zsh's configure script edits config.status,
     # adding the feature that an input filename starting with "!" has the
     # "!" removed and is not mangled further.
-    CONFIG_FILES=$the_subdir/${the_makefile}:\!$the_subdir/${the_makefile}.in CONFIG_HEADERS= ./config.status
+    CONFIG_FILES=$the_subdir/${the_makefile}:\!$the_subdir/${the_makefile}.in CONFIG_HEADERS= ${CONFIG_SHELL-/bin/sh} ./config.status
 
 fi