]> granicus.if.org Git - php/commitdiff
- phpize now can handle directories with spaces in their name (#28847)
authorJan Lehnardt <jan@php.net>
Sat, 19 Jun 2004 19:39:56 +0000 (19:39 +0000)
committerJan Lehnardt <jan@php.net>
Sat, 19 Jun 2004 19:39:56 +0000 (19:39 +0000)
scripts/phpize.in

index 8c19ef15f4a3ac78b7fb7b9742983c08da7b6f52..5af8761dbb59ffa23aed9dfb275c0edc64a61a28 100644 (file)
@@ -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()