[26296] in Source-Commits

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

/svn/athena r25499 - trunk/debathena/scripts

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Sun May 13 22:31:35 2012

Date: Sun, 13 May 2012 22:31:34 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201205140231.q4E2VYEo010134@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-05-13 22:31:34 -0400 (Sun, 13 May 2012)
New Revision: 25499

Modified:
   trunk/debathena/scripts/dasource
Log:
Use the correct field names, since we'll now be looking in the control file, which will have the preceeding 'X-'

Modified: trunk/debathena/scripts/dasource
===================================================================
--- trunk/debathena/scripts/dasource	2012-05-14 02:26:15 UTC (rev 25498)
+++ trunk/debathena/scripts/dasource	2012-05-14 02:31:34 UTC (rev 25499)
@@ -100,8 +100,8 @@
   # Read in debian-versions
   . $basedir/debian-versions.sh
 
-  NOBUILD=$(grep-dctrl -n -s Debathena-No-Build -F Debathena-No-Build -e . "$dir/debian/control")
-  BUILDFOR=$(grep-dctrl -n -s Debathena-Build-For -F Debathena-Build-For -e . "$dir/debian/control")
+  NOBUILD=$(grep-dctrl -n -s X-Debathena-No-Build -F X-Debathena-No-Build -e . "$dir/debian/control")
+  BUILDFOR=$(grep-dctrl -n -s X-Debathena-Build-For -F X-Debathena-Build-For -e . "$dir/debian/control")
   if [ -n "$NOBUILD" ] && [ -n "$BUILDFOR" ]; then
       echo "It is an error to specify both X-Debathena-Build-For and"
       echo "X-Debathena-No-Build.  Pick one and try again."


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