Skip to content

Instantly share code, notes, and snippets.

@ry
Created May 11, 2010 15:59
Show Gist options
  • Save ry/397472 to your computer and use it in GitHub Desktop.
Save ry/397472 to your computer and use it in GitHub Desktop.
diff --git a/configure b/configure
index 7267f64..de002e3 100755
--- a/configure
+++ b/configure
@@ -11,10 +11,10 @@ CUR_DIR=$PWD
#possible relative path
WORKINGDIR=`dirname $0`
-cd $WORKINGDIR
+cd "$WORKINGDIR"
#abs path
WORKINGDIR=`pwd`
-cd $CUR_DIR
+cd "$CUR_DIR"
"${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment