[dak/master] copyoverrides
we do want to work with the basename, not the full path of the file here
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
config/debian/dinstall.functions | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index da158a4..ed6f48b 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
}
--
1.7.2.5
Reply to: