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