[26491] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25592 - trunk/debathena/scripts/build-server/build-all

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Fri Jun 29 17:57:04 2012

Date: Fri, 29 Jun 2012 17:57:02 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201206292157.q5TLv2nd018738@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-06-29 17:57:02 -0400 (Fri, 29 Jun 2012)
New Revision: 25592

Modified:
   trunk/debathena/scripts/build-server/build-all/do-build
Log:
No, in fact, we do want to look in -staging if we're rebuilding a suite
What we don't want is to look in the psuite's -staging

Modified: trunk/debathena/scripts/build-server/build-all/do-build
===================================================================
--- trunk/debathena/scripts/build-server/build-all/do-build	2012-06-29 20:08:04 UTC (rev 25591)
+++ trunk/debathena/scripts/build-server/build-all/do-build	2012-06-29 21:57:02 UTC (rev 25592)
@@ -40,7 +40,11 @@
 # package versions and accept the last one we find.  Due to the
 # current repo layout, this also happens to be the highest version.
 # We may wish to explicitly select the highest version in the code.
-for suffix in "" -proposed -development; do
+extra=
+if [ "$psuite" = "$suite" ]; then
+    extra="-staging"
+fi
+for suffix in "" -proposed -development $extra; do
     vv=$(zcat ${DEBATHENA_APT}/dists/$psuite$suffix/*/source/Sources.gz | dpkg-awk -f - "Package:^$package\$" -- Version | sed -n 's/Version: // p')
     if [ -n "$vv" ]; then
         version="$vv"


home help back first fref pref prev next nref lref last post