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

Unified Diff: src/scripts/archive_build.sh

Issue 2111015: Do not delete src_image if --notest_mod is set. (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Created 10 years, 7 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/archive_build.sh
diff --git a/src/scripts/archive_build.sh b/src/scripts/archive_build.sh
index bf0521c1bae17a8e31647547fd5633d5bd825163..95bdbcca74bcb4b336a7e5bf787ba07225f25d58 100755
--- a/src/scripts/archive_build.sh
+++ b/src/scripts/archive_build.sh
@@ -149,8 +149,10 @@ then
"--factory_install"
fi
-# Remove the developer build.
-rm -f ${SRC_IMAGE}
+# Remove the developer build if test image is also built.
+if [ $FLAGS_test_mod -eq $FLAGS_TRUE ] ; then
+ rm -f ${SRC_IMAGE}
+fi
# Zip the build
echo "Compressing and archiving build..."
« 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