aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-04-27 10:29:43 +0000
committerLinaro Code Review <review@review.linaro.org>2016-04-27 10:29:43 +0000
commitfd1f286e97d7fdc2c0f1f7d29ac3dc8a0df6c324 (patch)
tree3e05d04aa6655cf592648fd4bac8b5bcb77efcf5
parentf55dc323103cfbfd204122d407b324a31660e12d (diff)
parent8f7166a6bdf8f5adeab6702cf7450f63c110afc8 (diff)
Merge "Don't run the gcc update script if updates have been disabled. https://bugs.linaro.org/show_bug.cgi?id=2124"
-rw-r--r--lib/checkout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checkout.sh b/lib/checkout.sh
index ef2bc8a3..3fa4a178 100644
--- a/lib/checkout.sh
+++ b/lib/checkout.sh
@@ -272,7 +272,7 @@ checkout()
return 1
fi
- if test -e ${srcdir}/contrib/gcc_update; then
+ if test -e ${srcdir}/contrib/gcc_update -a x"${supdate}" = xyes; then
# Touch GCC's auto-generated files to avoid non-deterministic
# build behavior.
dryrun "(cd ${srcdir} && ./contrib/gcc_update --touch)"