mirror of
https://github.com/frej/fast-export.git
synced 2025-11-15 06:55:51 +01:00
Make bashism conditional on the shell being bash
This avoids breakage due to 9643aa5d on shells other than bash.
This commit is contained in:
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user