Skip to content

Commit

Permalink
Clearing up a Bash syntax error
Browse files Browse the repository at this point in the history
- '-eq' is for numeric equivalence, swapping out to '=='
  • Loading branch information
ryanrath committed May 8, 2017
1 parent 1b5386f commit a967e4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/acl-xdmod-management
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ fi
if [ -z "$DRY_RUN" ]; then
DRY_RUN=false
fi
echo "Verbose: $VERBOSE";

if [ -z "$VERBOSE" ]; then
VERBOSE="warning";
fi

CMD="$PHP $SHARE_DIR/tools/etl/etl_overseer.php -c $CONFIG_FILE -a $SECTION:$ACTION -v $VERBOSE";

if [ "$DRY_RUN" -eq "true" ]; then
if [ "$DRY_RUN" == "true" ]; then
CMD="$CMD -t";
fi

Expand Down

0 comments on commit a967e4d

Please sign in to comment.