From e83b6a58be4dbde84517e6ce67939e0520223362 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Jan 2008 16:08:35 +0000 Subject: [PATCH] --- upload.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/upload.py b/upload.py index 124856cea8..deefb8b307 100644 --- a/upload.py +++ b/upload.py @@ -68,9 +68,12 @@ def upload_demo(): '''--serif-family "/usr/share/fonts/corefonts, Times New Roman" ''' '''--mono-family "/usr/share/fonts/corefonts, Andale Mono" ''' ''''''%(HTML2LRF,)) - check_call('''scp /tmp/html2lrf.lrf castalia:%s/'''%(DOWNLOADS,)) - check_call('''txt2lrf -t 'Demonstration of txt2lrf' -a 'Kovid Goyal' --header -o /tmp/txt2lrf.lrf %s/demo.txt'''%(TXT2LRF,) ) - check_call('''scp /tmp/txt2lrf.lrf castalia:%s/'''%(DOWNLOADS,)) + check_call('cd src/libprs500/ebooks/lrf/html/demo/ && zip /tmp/html-demo.zip * /tmp/html2lrf.lrf') + check_call('''scp /tmp/html-demo.zip castalia:%s/'''%(DOWNLOADS,)) + check_call('''txt2lrf -t 'Demonstration of txt2lrf' -a 'Kovid Goyal' ''' + '''--header -o /tmp/txt2lrf.lrf %s/demo.txt'''%(TXT2LRF,) ) + check_call('cd src/libprs500/ebooks/lrf/txt/demo/ && zip /tmp/txt-demo.zip * /tmp/txt2lrf.lrf') + check_call('''scp /tmp/txt-demo.zip castalia:%s/'''%(DOWNLOADS,)) def upload_installers(exe, dmg): check_call('''ssh castalia rm -f %s/libprs500\*.exe'''%(DOWNLOADS,))