From 2845916d68a5697765101afab46bf47cb32a7db7 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 6 Dec 2017 18:17:00 -0500 Subject: [PATCH] build: Require bash shell. --- configure | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 15e8f1359..2500e3bb7 100755 --- a/configure +++ b/configure @@ -13,13 +13,18 @@ inpath() return 1 } -for p in python2.7 python2.6 python2.5 python2.4 python2 python -do - if ( inpath $p ); then - exec $p `dirname $0`/make/configure.py "$@" - exit 0 - fi -done +if ( inpath bash ); then + for p in python2.7 python2.6 python2.5 python2.4 python2 python + do + if ( inpath $p ); then + exec $p `dirname $0`/make/configure.py "$@" + exit 0 + else + echo "ERROR: no suitable version of python found." + fi + done +else + echo "ERROR: bash shell not found." +fi -echo "ERROR: no suitable version of python found." exit 1 -- 2.40.0