From: Joerg Jaspert Date: Sun, 14 Aug 2011 10:10:57 +0000 (+0200) Subject: copyoverrides X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5ebd12fb5f7c54516a8a5f2438294983ff61bd5f;p=dak.git copyoverrides we do want to work with the basename, not the full path of the file here Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index da158a47..ed6f48bc 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -244,8 +244,9 @@ function copyoverrides() { log 'Copying override files into public view ...' for ofile in ${overridedir}/override.{lenny,squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do - gzip -9v --rsyncable ${ofile} > ${indices}/${ofile}.gz - chmod g+w ${indices}/${ofile}.gz + bname=${ofile##*/} + gzip -9cv --rsyncable ${ofile} > ${indices}/${bname}.gz + chmod g+w ${indices}/${bname}.gz done }