diff options
-rwxr-xr-x | hg-fast-export.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 <pdmef@gmx.net> and others. # License: MIT <http://www.opensource.org/licenses/mit-license.php> -set -o pipefail +if [ -n "$BASH" ]; then + set -o pipefail +fi ROOT="`dirname $0`" REPO="" |