# HG changeset patch # User Christophe Lincoln # Date 1334153939 -7200 # Node ID 4067b670d4ee4a9f524f4938ba8dd8781b34dd47 # Parent 1b62b33395833557e41de25a9de2a8e866397fbf export plugin: fix tiny path diff -r 1b62b3339583 -r 4067b670d4ee plugins/export/export.cgi --- a/plugins/export/export.cgi Wed Apr 11 15:59:53 2012 +0200 +++ b/plugins/export/export.cgi Wed Apr 11 16:18:59 2012 +0200 @@ -38,11 +38,11 @@ } gen_tarball() { gettext "Creating tarball"; echo -n ": " - cd $tmpdir && mkdir $TINYCM/$cache/export + cd $tmpdir && mkdir $tiny/$cache/export # Clean cache - find $TINYCM/$cache/export -mtime +1 | xargs rm -rf - tar czf $TINYCM/$cache/export/$export-$date.tar.gz $export - cd $TINYCM/$cache/export && du -sh $export-$date.tar.gz + find $tiny/$cache/export -mtime +1 | xargs rm -rf + tar czf $tiny/$cache/export/$export-$date.tar.gz $export + cd $tiny/$cache/export && du -sh $export-$date.tar.gz } dl_link() { gettext "Download"; echo \