[openssh-commits] [openssh] 01/01: Don't use 'here string", it's not POSIX.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Oct 21 16:54:13 AEDT 2021


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

dtucker pushed a commit to branch master
in repository openssh.

commit 8c626cc563e8d21d844d06f9971a9ee01de6aa2a
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Oct 21 16:53:39 2021 +1100

    Don't use 'here string", it's not POSIX.
---
 .github/setup_ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index c0f48f37..75e087b2 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -29,7 +29,7 @@ for TARGET in $TARGETS; do
         # nothing to do
         ;;
     clang-*|gcc-*)
-        compiler=$(sed 's/-Werror//' <<<$TARGET)
+        compiler=$(echo $TARGET | sed 's/-Werror//')
         PACKAGES="$PACKAGES $compiler"
         ;;
     kerberos5)

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


More information about the openssh-commits mailing list