Guard cd path with quotes

This commit is contained in:
Kun Zhang 2015-04-02 10:25:02 -07:00
parent 87b85019e6
commit 9a8bae72ab

View File

@ -42,7 +42,7 @@ assertEq ()
echo "Building protoc, OS=$OS ARCH=$ARCH"
cd $(dirname "$0")
cd "$(dirname \"$0\")"
WORKING_DIR=$(pwd)
CONFIGURE_ARGS="--disable-shared"