tinycm rev 7
export plugin: fix tiny path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 11 16:18:59 2012 +0200 (2012-04-11) |
parents | 1b62b3339583 |
children | 9d0f7be12384 |
files | plugins/export/export.cgi |
line diff
1.1 --- a/plugins/export/export.cgi Wed Apr 11 15:59:53 2012 +0200 1.2 +++ b/plugins/export/export.cgi Wed Apr 11 16:18:59 2012 +0200 1.3 @@ -38,11 +38,11 @@ 1.4 } 1.5 gen_tarball() { 1.6 gettext "Creating tarball"; echo -n ": " 1.7 - cd $tmpdir && mkdir $TINYCM/$cache/export 1.8 + cd $tmpdir && mkdir $tiny/$cache/export 1.9 # Clean cache 1.10 - find $TINYCM/$cache/export -mtime +1 | xargs rm -rf 1.11 - tar czf $TINYCM/$cache/export/$export-$date.tar.gz $export 1.12 - cd $TINYCM/$cache/export && du -sh $export-$date.tar.gz 1.13 + find $tiny/$cache/export -mtime +1 | xargs rm -rf 1.14 + tar czf $tiny/$cache/export/$export-$date.tar.gz $export 1.15 + cd $tiny/$cache/export && du -sh $export-$date.tar.gz 1.16 } 1.17 dl_link() { 1.18 gettext "Download"; echo \