Skip to content

Commit

Permalink
- Abort generate.sh script if mogenerator exits with a non-zero status
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-zhuk committed Jun 5, 2011
1 parent e270cda commit d5c21ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ponso/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.