encapsulate params
This commit is contained in:
parent
51ecfe7ee1
commit
2b60851ea3
@ -104,13 +104,13 @@ if [ $PROCESSORG ] ; then
|
|||||||
break
|
break
|
||||||
else
|
else
|
||||||
echo $RESPONSE | grep -oP '(?<="name":").+?(?=")' | while read repo; do
|
echo $RESPONSE | grep -oP '(?<="name":").+?(?=")' | while read repo; do
|
||||||
PARAMLIST+=$repo
|
PARAMLIST+=($repo)
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
# load array of parameters from input file
|
# 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
|
fi
|
||||||
|
|
||||||
# Cycle through array of parameters and execute script
|
# Cycle through array of parameters and execute script
|
||||||
|
Loading…
Reference in New Issue
Block a user