From: Mark Slee Date: Thu, 8 Mar 2007 01:22:46 +0000 (+0000) Subject: Fix cleanup and bootstrap X-Git-Tag: 0.2.0~1418 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=4c91e554185e25d81ca2026070e3f6d7d13ac819;p=common%2Fthrift.git Fix cleanup and bootstrap 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 --- diff --git a/bootstrap.sh b/bootstrap.sh index f5d5c4e6..59e0007b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 diff --git a/cleanup.sh b/cleanup.sh index a922b1b6..c78c3fc1 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -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