Bug#553607: patch

Steve M. Robbins steve at sumost.ca
Fri Dec 30 03:40:46 UTC 2011


tags 553607 + patch
thanks

One-line patch attached, which I have tested.

-Steve
-------------- next part --------------
diff --git a/examples/rebuild/buildall b/examples/rebuild/buildall
index ba60dfe..d6e7908 100755
--- a/examples/rebuild/buildall
+++ b/examples/rebuild/buildall
@@ -31,7 +31,7 @@ function build {
     cd $BUILDDIR/$PACKAGE
 
     #apt-get source $PACKAGE -t $DIST > /dev/null 2> $LOGDIR/.$PACKAGE
-    G=$(grep-dctrl -S -n -s Directory,Version $PACKAGE ../../Sources)
+    G=$(grep-dctrl -S -n -s Directory,Version -r ^$PACKAGE\$ ../../Sources)
     set -- $G
     DIR=$1 VER=$2
     dget -x ${MIRROR}/debian/${DIR}/${PACKAGE}_${VER}.dsc > /dev/null 2> $LOGDIR/.$PACKAGE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20111229/03743c49/attachment.pgp>


More information about the Pbuilder-maint mailing list