--- trunk/www/working/scripts/2site 2010/05/19 11:49:25 44 +++ trunk/www/working/scripts/2site 2010/05/19 15:03:43 45 @@ -37,6 +37,8 @@ #################################################################################### # Script starts here # #################################################################################### + +# Go to www/ directory cd .. cd .. echo 'Creating files' @@ -86,7 +88,7 @@ sed "/]*>What's New<.H1>/a \ $l -" .template.html | sed "s|\"myDate\"|$myDate|" | sed "s|\"myVersion\"|$myVersion|g" | sed "s|Last update: [^<]*<|Last update: $thisDate<|" > template.html +" working/.template.html | sed "s|\"myDate\"|$myDate|" | sed "s|\"myVersion\"|$myVersion|g" | sed "s|Last update: [^<]*<|Last update: $thisDate<|" > template.html echo 'done' @@ -99,7 +101,7 @@ echo -n ' news.php... ' sed -n '1,/
/p' template.html > 1.$$ -cat .news.php >> 1.$$ +cat working/.news.php >> 1.$$ sed '1,/
/d' template.html | sed '/