From 7270c28a3992a1a386bc491f0f026080bb88387e Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sun, 20 May 2001 10:59:27 +0000 Subject: 14401: workaround for script execution under Cygwin --- Config/installfns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Config/installfns.sh') 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 -- cgit 1.4.1