[25665] in Source-Commits
Re: /svn/athena r24886 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Jun 21 14:51:02 2011
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201010060740.o967eicW012825@drugstore.mit.edu>
Date: Tue, 21 Jun 2011 14:50:55 -0400
Cc: source-commits@mit.edu
Message-Id: <69F4590E-6714-480C-97D2-B09D9F0C0EC6@mit.edu>
To: Geoffrey Thomas <geofft@mit.edu>
Content-Transfer-Encoding: 8bit
This never got deployed to the locker, so, uh, "ACK".
I'll svn up the locker later today.
On Oct 6, 2010, at 3:40 AM, Geoffrey Thomas wrote:
> Author: geofft
> Date: 2010-10-06 03:40:44 -0400 (Wed, 06 Oct 2010)
> New Revision: 24886
>
> Modified:
> trunk/debathena/scripts/dasource
> Log:
> dasource: Tell me whether I want sbuildhack -A or not
>
> Modified: trunk/debathena/scripts/dasource
> ===================================================================
> --- trunk/debathena/scripts/dasource 2010-10-06 06:24:33 UTC (rev 24885)
> +++ trunk/debathena/scripts/dasource 2010-10-06 07:40:44 UTC (rev 24886)
> @@ -103,6 +103,14 @@
> # Build an unsigned package, ignoring version control subdirs in the source.
> echo "Creating source package"
> (cd $dir && debuild -S -i -I.svn -sa -us -uc)
> +
> + if grep '^Architecture: ' $dir/debian/control | grep -q -v 'Architecture: all'; then
> + echo "At least one arch-dependent binary package; run sbuildhack WITHOUT -A." >&2
> + elif grep -q '^Architecture: ' $dir/debian/control; then
> + echo "No arch-dependent binary packages; run sbuildhack with -A." >&2
> + else
> + echo "No binary packages???" >&2
> + fi
> }
>
> packages=packages
>