Skip to content

Commit

Permalink
set EXPR_COMPAT=1 if running inside freebsd so shFlags works correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Driessen <vincent@3rdcloud.com>
  • Loading branch information
putermancer authored and nvie committed Feb 13, 2012
1 parent 679f05f commit f608281
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# policies, either expressed or implied, of Vincent Driessen.
#

# set this to workaround expr problems in shFlags on freebsd
if uname -s | egrep -iq 'bsd'; then export EXPR_COMPAT=1; fi

# enable debug mode
if [ "$DEBUG" = "yes" ]; then
set -x
Expand Down

0 comments on commit f608281

Please sign in to comment.