[26303] in Source-Commits
Re: /svn/athena r25499 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue May 15 14:28:20 2012
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201205140231.q4E2VYEo010134@drugstore.mit.edu>
Date: Tue, 15 May 2012 14:28:15 -0400
Message-Id: <5C839361-0851-46DA-9DC6-E7170A01BDD8@mit.edu>
To: source-commits@MIT.EDU
Content-Transfer-Encoding: 8bit
TTL expired on this and r25498, and I appear to be the only one building code, so this is going in the locker.
On May 13, 2012, at 10:31 PM, Jonathan D Reed wrote:
> 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."
>