From 7f0daee8b37d8cf6eff32529b1762ffd5104f3f3 Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Wed, 1 Aug 2018 17:37:15 +0200 Subject: [PATCH] configure: posix shell can handle this It's such a trivial script, no need to bash. --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 2a44205fe..b69b959ca 100755 --- a/configure +++ b/configure @@ -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 "$@"