]> git.decadent.org.uk Git - dak.git/commitdiff
copyoverrides
authorJoerg Jaspert <joerg@debian.org>
Sun, 14 Aug 2011 10:10:57 +0000 (12:10 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 14 Aug 2011 10:10:57 +0000 (12:10 +0200)
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

index da158a47faa813c1738491cb518085398f98cc27..ed6f48bcb5c4acf427ca51c0881737dd489b171a 100644 (file)
@@ -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
 }