From: Jan Lehnardt Date: Sat, 19 Jun 2004 20:37:55 +0000 (+0000) Subject: - MFH (fix for #28847) X-Git-Tag: php-4.3.9RC1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e965d8661f40dfec16ab688ddc421c141fe9a1e;p=php - MFH (fix for #28847) --- diff --git a/scripts/phpize.in b/scripts/phpize.in index 0fae6151b9..7dc031ccbc 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -45,20 +45,20 @@ esac test -d build || mkdir build -(cd $phpdir && cp $FILES_BUILD "$builddir"/build) -(cd $phpdir && cp $FILES "$builddir") +(cd "$phpdir" && cp $FILES_BUILD "$builddir"/build) +(cd "$phpdir" && cp $FILES "$builddir") sed \ -e "s#@prefix@#$prefix#" \ -< $phpdir/phpize.m4 > configure.in +< "$phpdir/phpize.m4" > configure.in touch install-sh mkinstalldirs missing aclocal || exit 1 autoconf || exit 1 autoheader || exit 1 -test -x $builddir/build/shtool || chmod +x $builddir/build/shtool -if test ! -x $builddir/build/shtool; then +test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool" +if test ! -x "$builddir/build/shtool"; then echo "shtool at '$builddir/build/shtool' not executable. " echo "Make sure that the file exists and is executable and then rerun this script. " echo