fixed: specifying pr's in jenkins trigger was broken

invalid loop over array.
This commit is contained in:
Arne Morten Kvarving 2016-05-18 10:29:08 +02:00
parent ca40a31e7b
commit fbb573947b

View File

@ -29,7 +29,7 @@ then
OPM_COMMON_REVISION=pull/`echo $ghprbCommentBody | sed -r 's/.*opm-common=([0-9]+).*/\1/g'`/merge
fi
for upstream in $upstreams
for upstream in ${upstreams[*]}
do
if grep -q "$upstream=" <<< $ghprbCommentBody
then