diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2020-11-24 12:49:26 -0600 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-11-24 20:08:01 +0100 |
commit | 2ebf50e36955fc9036924bc059212f6834dd83f0 (patch) | |
tree | a2c3438559946e29ae4f7c49e3942fab797dfc14 | |
parent | 268dfebc511e59dd141c38753f6fe39cf5de2382 (diff) |
ci-merge: Add missing -q to grep when searching for old branches
Fixes multiple messages of,
...
grep: integration-linux-qcomlt-20180420-210521-999f6879aa74: No such file or directory
...
Example:
https://ci.linaro.org/job/lt-qcom-linux-automerge/722/consoleFull
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rwxr-xr-x | ci-merge | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -443,7 +443,7 @@ do_remove_old() { # ignore commented lines echo $LINE | egrep -q '(^#|^\s*$|^\s*\t*#)' && continue - echo $LINE | grep "^$REMOTE_NAME\b" | grep $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 |