aboutsummaryrefslogtreecommitdiff
path: root/examples/rebuild/buildall
diff options
context:
space:
mode:
authorSteve M. Robbins <steve@sumost.ca>2011-12-30 20:15:19 -0600
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-01-25 06:32:28 +0900
commitc18f31aa11c24adc8ef5393f333521b4ef352f66 (patch)
tree0764c8a6119923638f9f23f2a6a15675985a7c1c /examples/rebuild/buildall
parentba28fd2edbf8010844597ce2acc46eff0ac46f52 (diff)
downloadpbuilder-c18f31aa11c24adc8ef5393f333521b4ef352f66.tar
pbuilder-c18f31aa11c24adc8ef5393f333521b4ef352f66.tar.gz
Bug#553594: rebuild/buildall tries to download with epoch in filename
Here's the patch I forgot yesterday...
Diffstat (limited to 'examples/rebuild/buildall')
-rwxr-xr-xexamples/rebuild/buildall3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rebuild/buildall b/examples/rebuild/buildall
index d6e7908..5cea3e5 100755
--- a/examples/rebuild/buildall
+++ b/examples/rebuild/buildall
@@ -33,7 +33,8 @@ function build {
#apt-get source $PACKAGE -t $DIST > /dev/null 2> $LOGDIR/.$PACKAGE
G=$(grep-dctrl -S -n -s Directory,Version -r ^$PACKAGE\$ ../../Sources)
set -- $G
- DIR=$1 VER=$2
+ DIR=$1
+ VER=`echo $2 | sed s/^.*://`
dget -x ${MIRROR}/debian/${DIR}/${PACKAGE}_${VER}.dsc > /dev/null 2> $LOGDIR/.$PACKAGE
cd $(find . -type d ! -name .)