From ff91ef36e352765fec50fb82a9b1417f84d3e1bb Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Tue, 6 Jun 2023 12:12:27 +1000 Subject: [PATCH] remove extra displays --- parse-list.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/parse-list.sh b/parse-list.sh index c18fca1..bc64c17 100755 --- a/parse-list.sh +++ b/parse-list.sh @@ -104,10 +104,7 @@ if [ $PROCESSORG ] ; then break else echo $RESPONSE | grep -oP '(?<="name":").+?(?=")' | while read repo; do - if [[ $NOISY || $REVIEW ]] ; then echo "$2 $repo $EXTRAPARAMS" ; fi - if [[ ! $REVIEW ]] ; then - if [[ $repo ]] ; then PARAMLIST+=$repo ; fi - fi + PARAMLIST+=$repo done fi done @@ -120,7 +117,7 @@ fi for param in "${PARAMLIST[@]}" do if [[ $NOISY || $REVIEW ]] ; then echo "$2 $param $EXTRAPARAMS" ; fi - if [[ ! $REVIEW ]] ; then + if [[ -z $REVIEW ]] ; then if [[ $param ]] ; then $2 $param $EXTRAPARAMS ; fi fi done