From 58521eb6879a5410b02a4a07f2aaa0610981ba1c Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Fri, 11 Feb 2022 14:47:48 +0000 Subject: [PATCH] Remove a bashism (thanks Marco D'Itri!) --- bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 0f97478..15e0846 100755 --- a/bootstrap +++ b/bootstrap @@ -5,7 +5,7 @@ bsd_environment() { # Based on https://github.com/rvm/rvm/blob/59fe3b39f0fb5ae01ed5b9aa187201080815ac16/scripts/functions/build_config_system#L123 - if [[ -z "${AUTOCONF_VERSION:-}" ]] + if [ -z "${AUTOCONF_VERSION}" ] then export AUTOCONF_VERSION AUTOCONF_VERSION="$( @@ -17,7 +17,7 @@ bsd_environment() { echo "Using autoconf version: $AUTOCONF_VERSION" fi - if [[ -z "${AUTOMAKE_VERSION:-}" ]] + if [ -z "${AUTOMAKE_VERSION}" ] then export AUTOMAKE_VERSION # FreeBSD might have automake-wrapper