Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: common.sh

Issue 2914004: Use --fast by default in build_image when --jobs is enabled. (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_image ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common.sh
diff --git a/common.sh b/common.sh
index 262895be69ba8f27a4025b4b97bbb41242d01739..446be805edd1e47f1703566e43ad703cec5791aa 100644
--- a/common.sh
+++ b/common.sh
@@ -325,14 +325,13 @@ function die {
}
# Retry an emerge command according to $FLAGS_retries
-# The $EMERGE_JOBS flags will only be added the first time the command is run
function eretry () {
+ $* && return 0
local i=
for i in $(seq $FLAGS_retries); do
echo Retrying $*
- $* $EMERGE_JOBS && return 0
+ $* && return 0
done
- $* && return 0
return 1
}
« no previous file with comments | « build_image ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698