aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2016-04-26 11:10:27 -0600
committerRob Savoye <rob.savoye@linaro.org>2016-04-26 11:10:27 -0600
commit8f7166a6bdf8f5adeab6702cf7450f63c110afc8 (patch)
treefeef80a153709e22f99dda24b9835f66a8f80bc9
parent1a0b92a10bef67c8217fff50b684adec370aacd3 (diff)
Don't run the gcc update script if updates have been disabled. https://bugs.linaro.org/show_bug.cgi?id=2124
Change-Id: Ibe223aedff90c75d472df4a7e7dd2e1ee4f69140
-rw-r--r--lib/checkout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checkout.sh b/lib/checkout.sh
index 68fbb3da..49c068cb 100644
--- a/lib/checkout.sh
+++ b/lib/checkout.sh
@@ -263,7 +263,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)"