2011-07-14 02:45:56 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#LOGFILE=~expo/logs/cronlog
|
|
|
|
|
|
|
|
#echo "Starting expo website update script"
|
2012-06-10 09:44:23 +01:00
|
|
|
echo "<html><head><title>updateweb script log output</title></head><body><pre>"
|
2011-07-14 02:45:56 +01:00
|
|
|
echo `date`
|
|
|
|
echo "Changing to directory: ~expo/expoweb"
|
2012-06-10 09:44:23 +01:00
|
|
|
cd ~expo/troggle
|
|
|
|
echo -e "Running 'hg update for troggle'\n-------------"
|
|
|
|
hg update
|
|
|
|
cd ~expo/loser
|
|
|
|
echo -e "Running 'hg update for loser'\n-------------"
|
|
|
|
hg update
|
2011-07-14 02:45:56 +01:00
|
|
|
cd ~expo/expoweb
|
2012-06-10 09:44:23 +01:00
|
|
|
echo -e "Running 'hg update for expoweb'\n-------------"
|
2011-07-14 02:45:56 +01:00
|
|
|
hg update
|
|
|
|
echo -e "Regenerating website\n-------------"
|
2012-06-10 09:44:23 +01:00
|
|
|
make
|
|
|
|
echo "</pre></body></html>"
|