mirror of
https://codeberg.org/cage/tinmop/
synced 2024-12-18 23:22:52 +01:00
- removed bash specific syntax (thanks op!).
This commit is contained in:
parent
5f1fab5926
commit
5f8dc6c5a2
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user