Permalink
Browse files

set EXPR_COMPAT=1 if running inside freebsd so shFlags works correctly

Signed-off-by: Vincent Driessen <vincent@3rdcloud.com>
  • Loading branch information...
1 parent 679f05f commit f60828188567304a920197bae17d3246c8359ed2 @bloveridge bloveridge committed with Jan 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 git-flow
View
@@ -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

0 comments on commit f608281

Please sign in to comment.