mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-21 14:51:54 +00:00
20 lines
550 B
Bash
Executable File
20 lines
550 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#LOGFILE=~expo/logs/cronlog
|
|
|
|
#echo "Starting expo website update script"
|
|
echo "<html><head><title>updateweb script log output</title></head><body><pre>"
|
|
echo `date`
|
|
echo "Changing to directory: ~expo/expoweb"
|
|
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
|
|
cd ~expo/expoweb
|
|
echo -e "Running 'hg update for expoweb'\n-------------"
|
|
hg update
|
|
echo -e "Regenerating website\n-------------"
|
|
make
|
|
echo "</pre></body></html>" |