[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-commits
Subject:    [openssh-commits] [openssh] 01/01: Use backticks instead of $(..) for portability.
From:       git+noreply () mindrot ! org
Date:       2021-09-29 9:32:30
Message-ID: e248ef3614df0e5e () fuyu ! mindrot ! org
[Download RAW message or body]

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@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@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic