From: Darren Tucker Date: Wed, 29 Sep 2021 09:30:59 +0000 (+1000) Subject: Use backticks instead of $(..) for portability. X-Git-Tag: V_8_9_P1~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c6375555026d85dbf811fab566b9f76f196144;p=thirdparty%2Fopenssh-portable.git Use backticks instead of $(..) for portability. Older shells (eg /bin/sh on Solaris 10) don't support $() syntax. --- 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