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. |