diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 19:30:59 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 19:30:59 +1000 |
commit | a3c6375555026d85dbf811fab566b9f76f196144 (patch) | |
tree | 654309c2c98e24bb91868a1aa19cf09f9eb248c8 | |
parent | 958aaa0387133d51f84fe9c8f30bca03025f2867 (diff) |
Use backticks instead of $(..) for portability.
Older shells (eg /bin/sh on Solaris 10) don't support $() syntax.
-rwxr-xr-x | .github/configs | 2 | ||||
-rwxr-xr-x | .github/setup_ci.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/configs b/.github/configs index d9eb54d7..f28811c1 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 d9e4a906..df4bd97f 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 |