Skip to content
Browse files

- phpize now can handle directories with spaces in their name (#28847)

  • Loading branch information...
1 parent f090389 commit f4f844af197b598525623b9be627882080428a29 Jan Lehnardt committed Jun 19, 2004
Showing with 5 additions and 5 deletions.
  1. +5 −5 scripts/phpize.in
View
10 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()

0 comments on commit f4f844a

Please sign in to comment.
Something went wrong with that request. Please try again.