Permalink
Browse files

fixing issue when running tests from command line with executable pat…

…h with spaces in folder names
  • Loading branch information...
1 parent 9a39a7e commit 9510a2d48477c149cba17a4bfea45d095d6fc3ad @zbyhoo zbyhoo committed May 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Scripts/RunTests.sh
View
4 Scripts/RunTests.sh 100755 → 100644
@@ -38,10 +38,10 @@ if [ ! -e "$TEST_TARGET_EXECUTABLE_PATH" ]; then
exit 1
fi
-RUN_CMD="$TEST_TARGET_EXECUTABLE_PATH -RegisterForSystemEvents"
+RUN_CMD="\"$TEST_TARGET_EXECUTABLE_PATH\" -RegisterForSystemEvents"
echo "Running: $RUN_CMD"
-$RUN_CMD
+eval $RUN_CMD
RETVAL=$?
unset DYLD_ROOT_PATH

0 comments on commit 9510a2d

Please sign in to comment.