aboutsummaryrefslogtreecommitdiff
path: root/examples/rebuild/buildall
diff options
context:
space:
mode:
authorSteve M. Robbins <steve@sumost.ca>2011-12-29 21:40:46 -0600
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-01-25 06:31:38 +0900
commitba28fd2edbf8010844597ce2acc46eff0ac46f52 (patch)
tree1a0762c492a39bc8a4d102ffc1ba26e31955bde0 /examples/rebuild/buildall
parent163e0751e2066cd24ec4de61f30489b5a21161e8 (diff)
downloadpbuilder-ba28fd2edbf8010844597ce2acc46eff0ac46f52.tar
pbuilder-ba28fd2edbf8010844597ce2acc46eff0ac46f52.tar.gz
rebuild/buildall tries to download with acepack when building ack Bug#553607:
tags 553607 + patch thanks One-line patch attached, which I have tested. -Steve
Diffstat (limited to 'examples/rebuild/buildall')
-rwxr-xr-xexamples/rebuild/buildall2
1 files changed, 1 insertions, 1 deletions
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