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