lilalo

diff l3scripts @ 47:fcd63bc2bfa0

Печать индекса в файл при установленной переменной l3_to_file
author devi
date Wed Nov 23 00:18:36 2005 +0200 (2005-11-23)
parents 6452bfe549d1
children 568bab7090fc
line diff
     1.1 --- a/l3scripts	Tue Nov 22 23:27:51 2005 +0200
     1.2 +++ b/l3scripts	Wed Nov 23 00:18:36 2005 +0200
     1.3 @@ -62,8 +62,10 @@
     1.4  
     1.5  ###PRE-send-logs
     1.6  rm -rf /tmp/lilalo-$course-$date 2> /dev/null
     1.7 -mkdir /tmp/lilalo-$course-$date
     1.8 -cp -R /var/www/l3 /tmp/lilalo-$course-$date
     1.9 +mkdir -p /tmp/lilalo-$course-$date/l3
    1.10 +cp /var/www/l3/* /tmp/lilalo-$course-$date/l3
    1.11 +export l3_to_file=/tmp/lilalo-$course-$date/index.html
    1.12 +./l3-cgi 
    1.13  cd /tmp
    1.14  rm -rf lilalo-$course-$date.zip 2> /dev/null
    1.15  zip -r lilalo-$course-$date.zip lilalo-$course-$date