diff --git a/hg-fast-export.sh b/hg-fast-export.sh index 7dd918c..346d651 100755 --- a/hg-fast-export.sh +++ b/hg-fast-export.sh @@ -3,7 +3,9 @@ # Copyright (c) 2007, 2008 Rocco Rutte and others. # License: MIT -set -o pipefail +if [ -n "$BASH" ]; then + set -o pipefail +fi ROOT="`dirname $0`" REPO=""