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

Unified Diff: user_tools/linux/recovery.sh

Issue 5529006: Allow specifying an alternate config file URL on the commandline. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: Created 10 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: user_tools/linux/recovery.sh
diff --git a/user_tools/linux/recovery.sh b/user_tools/linux/recovery.sh
index 1ce69890ff62e90c471af9900c3e746f6e919a36..b63e91b8f998add946b19f03f6011ba1a692332e 100755
--- a/user_tools/linux/recovery.sh
+++ b/user_tools/linux/recovery.sh
@@ -19,8 +19,9 @@ set -eu
# run again without needing to download a second time.
WORKDIR=/tmp/tmp.crosrec
-# Where do we look for the config file?
-CONFIGURL='http://www.chromium.org/some/random/place.cfg'
+# Where do we look for the config file? Note that we can override this by just
+# specifying the config file URL on the command line.
+CONFIGURL="${1:-http://www.chromium.org/some/random/place.cfg}"
# What version is this script? It must match the 'recovery_tool_version=' value
# in the config file that we'll download.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698