From 5f8dc6c5a22d07310def7b6a6e2ca743ed95013b Mon Sep 17 00:00:00 2001 From: cage Date: Fri, 18 Feb 2022 23:09:17 +0100 Subject: [PATCH] - removed bash specific syntax (thanks op!). --- quick_quicklisp.sh.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quick_quicklisp.sh.in b/quick_quicklisp.sh.in index d860d2e..9da4e67 100644 --- a/quick_quicklisp.sh.in +++ b/quick_quicklisp.sh.in @@ -68,9 +68,9 @@ check_quicklisp () { check_quicklisp_signature () { chk1_prog='BEGIN {res=0} /Good signature.*release@quicklisp.org/ {res++; print res}' chk2_prog="BEGIN {res=0} /${QUICKLISP_SIGNATURE}/ {res++; print res}" - res1=$(LC_MESSAGES="C" @GPG@ --verify quicklisp.lisp.asc quicklisp.lisp 2> >(@AWK@ -- "${chk1_prog}")) - res2=$(@GPG@ --verify quicklisp.lisp.asc quicklisp.lisp 2> >(@AWK@ -- "${chk2_prog}")) - res=$(expr $res1 + $res2) + res1=$(LC_MESSAGES="C" @GPG@ --verify quicklisp.lisp.asc quicklisp.lisp 2>&1 | @AWK@ -- "${chk1_prog}") + res2=$(@GPG@ --verify quicklisp.lisp.asc quicklisp.lisp 2>&1 | @AWK@ -- "${chk2_prog}") + res=$((res1 + res2)) printf "%s" "$res" }