aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2015-03-24 17:00:31 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2015-04-02 21:15:37 +0100
commit484bc58e6ac41d1b7f62bf915afbe4647ba0658b (patch)
treedb9622778b3ae8a5269bbb38d416babd6e5e7e55
parentd231d328c163c99331269ca9a6e9a3c69c260536 (diff)
Move --check option so that it can't be followed by gcc=XXX.
Otherwise it considers 'gcc=XXX' as an additional argument to --check. This would happen for native builds where ${platform} is empty. Change-Id: Ibc01b36dae4ce5255366e071b3a159159a484892
-rwxr-xr-xtest-backport.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-backport.sh b/test-backport.sh
index 192a0608..43b971a4 100755
--- a/test-backport.sh
+++ b/test-backport.sh
@@ -177,7 +177,7 @@ while test $i -lt ${#revisions[@]}; do
continue
fi
- bash -x ${topdir}/abe.sh ${gerrit} --disable update --check ${platform} gcc=gcc.git@${revisions[$i]} --build all --disable make_docs
+ bash -x ${topdir}/abe.sh ${gerrit} --disable update ${platform} gcc=gcc.git@${revisions[$i]} --build all --disable make_docs --check
if test $? -gt 0; then
echo "ERROR: Abe failed!"
exit 1