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 |