Index: src/scripts/archive_build.sh |
diff --git a/src/scripts/archive_build.sh b/src/scripts/archive_build.sh |
index fb5180c611c30c19c4e2fb41fe241ee599d7ba3e..5881e0a7556b0bc64b96c85bbc11660fa00f65d7 100755 |
--- a/src/scripts/archive_build.sh |
+++ b/src/scripts/archive_build.sh |
@@ -50,7 +50,11 @@ REVISION=${REVISION:0:8} |
# Use the version number plus revision as the last change. (Need both, since |
# trunk builds multiple times with the same version string.) |
-LAST_CHANGE="${CHROMEOS_VERSION_STRING}-r${REVISION}-b${FLAGS_build_number}" |
+LAST_CHANGE="${CHROMEOS_VERSION_STRING}-r${REVISION}" |
+if [ -n "$FLAGS_build_number" ] |
+then |
+ LAST_CHANGE="$LAST_CHANGE-b${FLAGS_build_number}" |
+fi |
# The Chromium buildbot scripts only create a clickable link to the archive |
# if an output line of the form "last change: XXX" exists |