Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: posix shell can handle this
It's such a trivial script, no need to bash.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/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 | ||
# running tests like PROJ_LIB, GDAL_DATA, and ICU_DATA | ||
# 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 "$@" |