quote hudson job name because it may contain blanks

This commit is contained in:
Axel Uhl committed 2014-03-11 09:03:15 +01:00
1 parent ba4a4d4ceb
commit 50146cfe82
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ find_project_home ()
fi
if [ ! -d "$1/.git" ]; then
PARENT_DIR=`cd $1/..;pwd`
PARENT_DIR=`cd "$1/..";pwd`
OUTPUT=$(find_project_home $PARENT_DIR)
if [ "$OUTPUT" = "" ] && [ -d "$PARENT_DIR/$CODE_DIRECTORY" ] && [ -d "$PARENT_DIR/$CODE_DIRECTORY/.git" ]; then