aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2020-11-24 14:56:23 -0600
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-11-24 21:57:55 +0100
commit7ed65dac7d4e082351ea1145534b6af69e4c3fcc (patch)
tree9e8dbbad61606725eaa50389ea2cac642c06e063
parent2ebf50e36955fc9036924bc059212f6834dd83f0 (diff)
ci-merge: do_remove_old add quotes in REMOTE_BRANCH
To avoid errors when more than one branch is get in REMOTE_BRANCH. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rwxr-xr-xci-merge2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-merge b/ci-merge
index 3b7e1f3..b95c760 100755
--- a/ci-merge
+++ b/ci-merge
@@ -443,7 +443,7 @@ do_remove_old() {
# ignore commented lines
echo $LINE | egrep -q '(^#|^\s*$|^\s*\t*#)' && continue
- echo $LINE | grep -q "^$REMOTE_NAME\b" | grep -q $REMOTE_URL | grep -q $REMOTE_BRANCH
+ echo $LINE | grep -q "^$REMOTE_NAME\b" | grep -q $REMOTE_URL | grep -q "$REMOTE_BRANCH"
if [ $? -eq 0 ]; then
FOUND=1
fi