Skip to content

Commit

Permalink
configure: posix shell can handle this
Browse files Browse the repository at this point in the history
It's such a trivial script, no need to bash.
  • Loading branch information
lightmare committed Aug 1, 2018
1 parent 3683c30 commit 7f0daee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure
@@ -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 "$@"

0 comments on commit 7f0daee

Please sign in to comment.