Permalink
Browse files

- Abort generate.sh script if mogenerator exits with a non-zero status

  • Loading branch information...
1 parent e270cda commit d5c21ba75511f45f04907cc870fc4b9dd8692dc2 @nikita-zhuk nikita-zhuk committed Jun 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ponso/generate.sh
View
@@ -20,6 +20,6 @@ MOMC_SUPPRESS_INVERSE_TRANSIENT_ERROR=YES \
--base-class "$BASE_CLASS" \
--includeh "$AGGREGATE_HEADER" \
--template-path "$MOGENERATOR_TEMPLATES" \
--O "$DATA_MODEL_SOURCE_DIR"
+-O "$DATA_MODEL_SOURCE_DIR" || exit 1
echo "Generated Data Model Classes to $DATA_MODEL_SOURCE_DIR"

0 comments on commit d5c21ba

Please sign in to comment.