diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 11:30:59 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 11:30:59 +0200 |
commit | a3c6375555026d85dbf811fab566b9f76f196144 (patch) | |
tree | 654309c2c98e24bb91868a1aa19cf09f9eb248c8 /.github | |
parent | Skip file-based tests by default on Mac OS. (diff) | |
download | openssh-a3c6375555026d85dbf811fab566b9f76f196144.tar.xz openssh-a3c6375555026d85dbf811fab566b9f76f196144.zip |
Use backticks instead of $(..) for portability.
Older shells (eg /bin/sh on Solaris 10) don't support $() syntax.
Diffstat (limited to '.github')
-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 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 |