Fix cleanup and bootstrap
authorMark Slee <mcslee@apache.org>
Thu, 8 Mar 2007 01:22:46 +0000 (01:22 +0000)
committerMark Slee <mcslee@apache.org>
Thu, 8 Mar 2007 01:22:46 +0000 (01:22 +0000)
Summary: spaces in directory names should work

Reviewed By: aditya

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665054 13f79535-47bb-0310-9956-ffa450edef68

bootstrap.sh
cleanup.sh

index f5d5c4e..59e0007 100755 (executable)
@@ -13,9 +13,9 @@ automake -ac
 for subdir in ${subdirs}; do 
     if [ -x "${subdir}/bootstrap.sh" ]; then 
        cwd="`pwd`"
-       cd ${subdir}
+       cd "${subdir}"
        ./bootstrap.sh
-       cd ${cwd}
+       cd "${cwd}"
     fi
 done
 
index a922b1b..c78c3fc 100755 (executable)
@@ -33,8 +33,8 @@ missing
 for subdir in ${subdirs}; do 
     if [ -x "${subdir}/cleanup.sh" ]; then 
        cwd="`pwd`"
-       cd ${subdir}
+       cd "${subdir}"
        ./cleanup.sh
-       cd ${cwd}
+       cd "${cwd}"
     fi
 done