Skip to content

Commit

Permalink
more logical local workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mu2epro committed Jun 29, 2023
1 parent 2e49dcc commit 5103b88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Util/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ fi
#
# create a config string out of POMS, cfg and input versions
#
if [[ -z "$MOO_CAMPAIGN" && -n "$POMS4_CAMPAIGN_NAME" ]]; then
if [ -n "$POMS4_CAMPAIGN_NAME" ]; then
export MOO_CAMPAIGN="$POMS4_CAMPAIGN_NAME"
fi
if [[ -z "MOO_CAMPAIGN_STAGE" && -n "POMS4_CAMPAIGN_STAGE_NAME" ]]; then
if [ -n "POMS4_CAMPAIGN_STAGE_NAME" ]; then
export MOO_CAMPAIGN_STAGE=$POMS4_CAMPAIGN_STAGE_NAME
fi

Expand All @@ -101,7 +101,7 @@ save_environment wrapper_end
# run the executable script
#

tee_date start script $OFFLINEOPS_DIR/Campaigns/$MOO_SCRIPT
tee_date "************ start script $OFFLINEOPS_DIR/Campaigns/$MOO_SCRIPT"
$OFFLINEOPS_DIR/Campaigns/$MOO_SCRIPT
RC=$?
tee_date OfflineOps/wrapper exiting with RC=$RC
Expand Down

0 comments on commit 5103b88

Please sign in to comment.