fix paramlist missing
This commit is contained in:
parent
2b60851ea3
commit
1e40fa679c
@ -103,9 +103,7 @@ if [ $PROCESSORG ] ; then
|
||||
# we have them all
|
||||
break
|
||||
else
|
||||
echo $RESPONSE | grep -oP '(?<="name":").+?(?=")' | while read repo; do
|
||||
PARAMLIST+=($repo)
|
||||
done
|
||||
PARAMLIST="$PARAMLIST $(echo $RESPONSE | grep -oP '(?<="name":").+?(?=")')"
|
||||
fi
|
||||
done
|
||||
else
|
||||
@ -118,7 +116,10 @@ for param in ${PARAMLIST[@]}
|
||||
do
|
||||
if [[ $NOISY || $REVIEW ]] ; then echo "$2 $param $EXTRAPARAMS" ; fi
|
||||
if [[ -z $REVIEW ]] ; then
|
||||
if [[ $param ]] ; then $2 $param $EXTRAPARAMS ; fi
|
||||
if [[ $param ]] ; then
|
||||
RESPONSE=$($2 $param $EXTRAPARAMS)
|
||||
if [ $DEBUG ] ; then echo "RESPONSE=$RESPONSE" ; fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user