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
parent 1f39386616
commit dc94fc39ec

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 {