From a3c6375555026d85dbf811fab566b9f76f196144 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 29 Sep 2021 19:30:59 +1000 Subject: [PATCH] Use backticks instead of $(..) for portability. Older shells (eg /bin/sh on Solaris 10) don't support $() syntax. --- .github/configs | 2 +- .github/setup_ci.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/configs b/.github/configs index d9eb54d7e..f28811c17 100755 --- a/.github/configs +++ b/.github/configs @@ -156,7 +156,7 @@ esac # Unless specified otherwise, build without OpenSSL on Mac OS since # modern versions don't ship with libcrypto. -case $(./config.guess) in +case "`./config.guess`" in *-darwin*) LIBCRYPTOFLAGS="--without-openssl" TEST_TARGET=t-exec diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index d9e4a906f..df4bd97f1 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -1,6 +1,6 @@ #!/bin/sh -case $(./config.guess) in +case "`./config.guess`" in *-darwin*) brew install automake exit 0