From f60828188567304a920197bae17d3246c8359ed2 Mon Sep 17 00:00:00 2001 From: Ben Loveridge Date: Fri, 6 Jan 2012 11:04:46 -0700 Subject: [PATCH] set EXPR_COMPAT=1 if running inside freebsd so shFlags works correctly Signed-off-by: Vincent Driessen --- git-flow | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-flow b/git-flow index a03ba1fd3..93e9f0f73 100755 --- a/git-flow +++ b/git-flow @@ -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