From ce175d58d698b24cbe1a3183d9ea71658d21b6c3 Mon Sep 17 00:00:00 2001 From: Ken Mixter Date: Thu, 1 Apr 2010 10:08:11 -0700 Subject: [PATCH] Make mod_image_for_test work with default args. Before the GPT change, by default mod_image_for_test would modify the result of your build. Review URL: http://codereview.chromium.org/1572012 --- mod_image_for_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh index 8d778e9d2f..e4fb44bbf9 100755 --- a/mod_image_for_test.sh +++ b/mod_image_for_test.sh @@ -36,7 +36,7 @@ fi # We have a board name but no image set. Use image at default location if [ -z $FLAGS_image ] ; then IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}" - FILENAME="chromiumos_test_image.bin" + FILENAME="chromiumos_image.bin" FLAGS_image="${IMAGES_DIR}/$(ls -t $IMAGES_DIR 2>&-| head -1)/${FILENAME}" fi