Skip to content

Commit

Permalink
Cleaning up Bash syntax error
Browse files Browse the repository at this point in the history
- '-eq' is for numeric equivalence not string comparison.
  • Loading branch information
ryanrath committed May 8, 2017
1 parent a967e4d commit 7fe99b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/acl-import
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fi

CMD="$PHP $SHARE_DIR/tools/etl/etl_overseer.php -c $CONFIG_FILE -p \"$SECTION\" -v $VERBOSE";

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

Expand Down

0 comments on commit 7fe99b6

Please sign in to comment.