From c18f31aa11c24adc8ef5393f333521b4ef352f66 Mon Sep 17 00:00:00 2001 From: "Steve M. Robbins" Date: Fri, 30 Dec 2011 20:15:19 -0600 Subject: Bug#553594: rebuild/buildall tries to download with epoch in filename Here's the patch I forgot yesterday... --- examples/rebuild/buildall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') 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 .) -- cgit v1.2.3