fixed: invalid loop over array

This commit is contained in:
Arne Morten Kvarving 2016-05-18 10:30:37 +02:00
parent bd40952706
commit 14e06f8dc1

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