diff --git a/parse-list.sh b/parse-list.sh index 44009f7..31ff947 100755 --- a/parse-list.sh +++ b/parse-list.sh @@ -106,14 +106,14 @@ if [ $PROCESSORG ] ; then 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 + if [[ $repo ]] ; then PARAMLIST+=$repo ; fi fi done fi done else # load array of parameters from input file - while read -r line ; do $PARAMLIST+=$line ; done < $1 + while read -r line ; do PARAMLIST+=$line ; done < $1 fi # Cycle through array of parameters and execute script