Remove a bashism (thanks Marco D'Itri!)

This commit is contained in:
Job Snijders
2022-02-11 14:47:48 +00:00
parent 8b804f83fd
commit 58521eb687

View File

@@ -5,7 +5,7 @@
bsd_environment() { bsd_environment() {
# Based on https://github.com/rvm/rvm/blob/59fe3b39f0fb5ae01ed5b9aa187201080815ac16/scripts/functions/build_config_system#L123 # Based on https://github.com/rvm/rvm/blob/59fe3b39f0fb5ae01ed5b9aa187201080815ac16/scripts/functions/build_config_system#L123
if [[ -z "${AUTOCONF_VERSION:-}" ]] if [ -z "${AUTOCONF_VERSION}" ]
then then
export AUTOCONF_VERSION export AUTOCONF_VERSION
AUTOCONF_VERSION="$( AUTOCONF_VERSION="$(
@@ -17,7 +17,7 @@ bsd_environment() {
echo "Using autoconf version: $AUTOCONF_VERSION" echo "Using autoconf version: $AUTOCONF_VERSION"
fi fi
if [[ -z "${AUTOMAKE_VERSION:-}" ]] if [ -z "${AUTOMAKE_VERSION}" ]
then then
export AUTOMAKE_VERSION export AUTOMAKE_VERSION
# FreeBSD might have automake-wrapper # FreeBSD might have automake-wrapper