From: Evan Broder <broder@mit.edu>
Date: Fri, 24 Oct 2008 02:04:05 +0000 (-0400)
Subject: Fix a typo where sx-build-release didn't upload the source package
X-Git-Tag: sipb-xen-dev/26.1^0
X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/a2401a705e22695553e97e4c96d619b977fa3bfb

Fix a typo where sx-build-release didn't upload the source package

svn path=/trunk/packages/sipb-xen-dev/; revision=1172
---

diff --git a/debian/changelog b/debian/changelog
index 85af810..6aa9434 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sipb-xen-dev (26.1) unstable; urgency=low
+
+  * Fix a typo where the source package didn't get uploaded
+
+ -- Evan Broder <broder@mit.edu>  Thu, 23 Oct 2008 22:03:40 -0400
+
 sipb-xen-dev (26) unstable; urgency=low
 
   * Update sx-build-release and reprepro-env to work with sbuild instead
diff --git a/sx-build-release b/sx-build-release
index acfb2d7..4e67c76 100755
--- a/sx-build-release
+++ b/sx-build-release
@@ -32,10 +32,13 @@ fi
 
 [ $Distribution = 'unstable' ] \
  || echo "$(basename $0): warning: Distribution is ${Distribution}, script expects unstable"
-changesfile="$(ls `pwd`/${Source}_*${Version}*.changes | grep -v 'source.changes$')"
-reprepro-env include unstable $changesfile
-reprepro-env copy stable unstable ${Source} \
-  $(perl '-F:\s+' -lane 'print $F[1]." " if /^Binary/' <$changesfile)
+changesfile=`pwd`/${Source}_*${Version}*.changes
+for i in $changesfile; do
+    reprepro-env include unstable $i
+    reprepro-env copy stable unstable \
+	$(perl '-F:\s+' -lane 'print $F[1]." " if /^Binary/' <$i)
+done
+reprepro-env copy stable unstable ${Source}
 
 cd ..
 rm -rf build-release