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

Unified Diff: chromeos_version.sh

Issue 2792011: Use new cgpt tool when creating images and the pack/unpack scripts. (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Created 10 years, 6 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 | emit_gpt_scripts.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos_version.sh
diff --git a/chromeos_version.sh b/chromeos_version.sh
index 3f9d2830e9dc659a371582432acccb3f320cc97a..94bb2b1cff2090cddb64def9f0351746f5ee27ab 100755
--- a/chromeos_version.sh
+++ b/chromeos_version.sh
@@ -87,6 +87,7 @@ export CHROME_BASE=
# directory containing chrome-chromeos.zip - an svn rev or a full version
export CHROME_BUILD=
-# Print version info.
+# Print (and remember) version info.
echo "ChromeOS version information:"
-env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /'
+logvers="/tmp/version_${CHROMEOS_VERSION_STRING}"
+env | egrep '^CHROMEOS_VERSION|CHROME_' | tee $logvers | sed 's/^/ /'
« no previous file with comments | « no previous file | emit_gpt_scripts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698