summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Lehnardt <jan@php.net>2004-06-19 19:39:56 +0000
committerJan Lehnardt <jan@php.net>2004-06-19 19:39:56 +0000
commitf4f844af197b598525623b9be627882080428a29 (patch)
tree457879a3a8f75be6862bc9f2291b10190b764d77 /scripts
parentf0903895c10416d53ecb98b92fd0fe77e1aafe38 (diff)
downloadphp-git-f4f844af197b598525623b9be627882080428a29.tar.gz
- phpize now can handle directories with spaces in their name (#28847)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/phpize.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 8c19ef15f4..5af8761dbb 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -75,9 +75,9 @@ EOF
phpize_check_shtool()
{
- test -x $builddir/build/shtool || chmod +x $builddir/build/shtool
+ test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool"
- if test ! -x $builddir/build/shtool; then
+ if test ! -x "$builddir/build/shtool"; then
phpize_no_shtool
exit 1
fi
@@ -88,15 +88,15 @@ phpize_copy_files()
{
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")
}
phpize_replace_prefix()
{
sed \
-e "s#@prefix@#$prefix#" \
- < $phpdir/phpize.m4 > configure.in
+ < "$phpdir/phpize.m4" > configure.in
}
phpize_autotools()