From 2d072531636fd8f28efe2a9bacdcd47fba4fba18 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 22 Dec 2008 00:06:23 -0500 Subject: [PATCH] invirt-build-release: factor out distribution svn path=/trunk/packages/invirt-dev/; revision=1863 --- debian/changelog | 2 +- invirt-build-release | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index d750b52..d2184b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,7 +5,7 @@ invirt-dev (0.0.11) unstable; urgency=low * invirt-build-release: clean up some shell and some perl * invirt-build-release: separate distribution, architecture - -- Greg Price Sat, 20 Dec 2008 01:57:52 -0500 + -- Greg Price Mon, 22 Dec 2008 00:04:34 -0500 invirt-dev (0.0.10) unstable; urgency=low diff --git a/invirt-build-release b/invirt-build-release index 714061e..2b2429e 100755 --- a/invirt-build-release +++ b/invirt-build-release @@ -1,4 +1,5 @@ #!/bin/bash +distribution=hardy svnuri="$(invirt-getconf svn.uri)" set -e @@ -19,10 +20,10 @@ for package; do eval $(perl -ne 'print if s/^(Architecture): /\1=/' ${Source}_${Version}.dsc) case $Architecture in all) - sbuild -d hardy --arch-all ${Source}_${Version}.dsc;; + sbuild -d $distribution --arch-all ${Source}_${Version}.dsc;; any) - sbuild -d hardy --arch amd64 ${Source}_${Version}.dsc - sbuild -d hardy --arch i386 ${Source}_${Version}.dsc;; + sbuild -d $distribution --arch amd64 ${Source}_${Version}.dsc + sbuild -d $distribution --arch i386 ${Source}_${Version}.dsc;; *) echo "invirt-build-release: arch '$Architecture' unimplemented" >&2 exit 1 -- 1.7.9.5