mirror of
https://github.com/frej/fast-export.git
synced 2025-11-15 15:05:50 +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.
|
# Copyright (c) 2007, 2008 Rocco Rutte <pdmef@gmx.net> and others.
|
||||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||||
|
|
||||||
|
if [ -n "$BASH" ]; then
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
fi
|
||||||
|
|
||||||
ROOT="`dirname $0`"
|
ROOT="`dirname $0`"
|
||||||
REPO=""
|
REPO=""
|
||||||
|
|||||||
Reference in New Issue
Block a user