configure: posix shell can handle this
It's such a trivial script, no need to bash.
This commit is contained in:
parent
3683c30557
commit
7f0daee8b3
1 changed files with 4 additions and 4 deletions
8
configure
vendored
8
configure
vendored
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
#! /bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
PYTHON=${PYTHON:-python}
|
||||
: ${PYTHON:=python}
|
||||
|
||||
# mapnik-settings.env is an optional file to store
|
||||
# environment variables that should be used before
|
||||
|
@ -10,9 +10,9 @@ PYTHON=${PYTHON:-python}
|
|||
# These do not normally need to be set except when
|
||||
# building against binary versions of dependencies like
|
||||
# done via bootstrap.sh
|
||||
if [[ -f mapnik-settings.env ]]; then
|
||||
if [ -f mapnik-settings.env ]; then
|
||||
echo "Inheriting from mapnik-settings.env"
|
||||
source mapnik-settings.env
|
||||
. ./mapnik-settings.env
|
||||
fi
|
||||
|
||||
$PYTHON scons/scons.py --implicit-deps-changed configure "$@"
|
||||
|
|
Loading…
Reference in a new issue