From 5f1a43489b8fb54bf09d624fb48bad3079682b9d Mon Sep 17 00:00:00 2001
From: Logan Dethrow <log@lindenlab.com>
Date: Thu, 6 Jun 2013 17:04:09 -0400
Subject: [PATCH] Use the codeticket number ($revision) instead of the
 nonexistent ${VERSION_VIEWER} to set a unique version in the debian
 changelogs and version strings.

---
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 1275f41fe11..dfb0ddad7a1 100755
--- a/build.sh
+++ b/build.sh
@@ -279,7 +279,7 @@ then
       # mangle the changelog
       dch --force-bad-version \
           --distribution unstable \
-          --newversion "${VIEWER_VERSION}" \
+          --newversion "${revision}" \
           "Automated build #$build_id, repository $branch revision $revision." \
           >> "$build_log" 2>&1
 
-- 
GitLab