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

Unified Diff: src/scripts/get_latest_image.sh

Issue 1702014: adds default board to get_latest_image (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Created 10 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/get_latest_image.sh
diff --git a/src/scripts/get_latest_image.sh b/src/scripts/get_latest_image.sh
index edcc1697b58ee501a40a2b3f2b4c6ffbde75bfbe..3cac3ecc73dc64cc019aee74985846a9f4279d6c 100755
--- a/src/scripts/get_latest_image.sh
+++ b/src/scripts/get_latest_image.sh
@@ -10,7 +10,10 @@
# The path to common.sh should be relative to your script's location.
. "$(dirname "$0")/common.sh"
-DEFINE_string board "" "The name of the board to check for images."
+get_default_board
+
+DEFINE_string board "$DEFAULT_BOARD" \
+ "The name of the board to check for images."
# Parse command line flags
FLAGS "$@" || exit 1
« 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