]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Use backticks instead of $(..) for portability.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 09:30:59 +0000 (19:30 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 09:30:59 +0000 (19:30 +1000)
Older shells (eg /bin/sh on Solaris 10) don't support $() syntax.

.github/configs
.github/setup_ci.sh

index d9eb54d7e70b1374e7329ce9dc1d083c673bd3a4..f28811c17e6cd626b9085bc7e54a1e9be40d9da4 100755 (executable)
@@ -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
index d9e4a906ff0e41fe4e9e78d7462d6bd43b72a315..df4bd97f18f2d32efb1b757e0ea188f527e5a680 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-case $(./config.guess) in
+case "`./config.guess`" in
 *-darwin*)
        brew install automake
        exit 0