diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a3281f1..0dab5dea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Vx.x.x (Pre-release) ## Changes since v4.0.0 - +- [#291][https://github.com/pusher/oauth2_proxy/pull/291] Added bash >= 4.0 dependency to configure script (@jmfrank63) - [#227](https://github.com/pusher/oauth2_proxy/pull/227) Add Keycloak provider (@Ofinka) - [#259](https://github.com/pusher/oauth2_proxy/pull/259) Redirect to HTTPS (@jmickey) - [#273](https://github.com/pusher/oauth2_proxy/pull/273) Support Go 1.13 (@dio) diff --git a/configure b/configure index 26db8fea..10af15e6 100755 --- a/configure +++ b/configure @@ -5,6 +5,10 @@ GREEN='\033[0;32m' BLUE='\033[0;34m' NC='\033[0m' +if [ -z "${BASH_VERSINFO}" ] || [ -z "${BASH_VERSINFO[0]}" ] || [ ${BASH_VERSINFO[0]} -lt 4 ]; then + echo "This script requires Bash version >= 4"; exit 1; +fi + declare -A tools=() declare -A desired=()