Fixes CB-2204: if bin/create fails, exit with code 1

This commit is contained in:
Fil Maj 2013-01-10 18:29:36 -08:00 committed by Joe Bowser
parent 55074b925f
commit b870214cca

View File

@ -69,7 +69,7 @@ function on_error {
echo "An unexpected error occurred: $previous_command exited with $?" echo "An unexpected error occurred: $previous_command exited with $?"
echo "Deleting project..." echo "Deleting project..."
[ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH" [ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH"
exit "$?" exit 1
} }
function replace { function replace {