summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcurvetun/nacl_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/curvetun/nacl_build.sh b/curvetun/nacl_build.sh
index df6027a..d9ea752 100755
--- a/curvetun/nacl_build.sh
+++ b/curvetun/nacl_build.sh
@@ -38,7 +38,7 @@ echo "Building NaCl for arch $arch on host $shorthostname (grab a coffee, this t
cd "$nacl_build_dir"/"$nacl_version"
./do
-cd - > /dev/null
+cd $OLDPWD > /dev/null
nacl_lib_path="$nacl_build_dir/$nacl_version/build/$shorthostname/lib/$arch"
nacl_include_path="$nacl_build_dir/$nacl_version/build/$shorthostname/include/$arch"