Permalink
Browse files

Support paths with spaces

Currently, the test script doesn't work quite as intended if (for whatever reason) someone is in a path containing a space.
  • Loading branch information...
lewellyn committed Dec 21, 2015
1 parent 96e9b7d commit 35420bbc648cf8f16c59358e957a515c6fde1779
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test
View
@@ -12,7 +12,7 @@ print_status() {
cleanup() {
print_status "Cleaning up ..."
- cd $OWD
+ cd "${OWD}"
exec_cmd "rm -rf ${TEST_DIR}"
}
@@ -120,4 +120,4 @@ print_status "Running test ..."
exec_cmd "npm test"
-cleanup
+cleanup

0 comments on commit 35420bb

Please sign in to comment.