[openssh-commits] [openssh] 01/01: Use backticks instead of $(..) for portability.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Sep 29 19:32:30 AEST 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit a3c6375555026d85dbf811fab566b9f76f196144
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Sep 29 19:30:59 2021 +1000

    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 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list