Mods to pub script

This commit is contained in:
Rob Pearce 2008-12-02 21:39:55 +00:00
parent 1706e32495
commit 3e6b011f01
1 changed files with 2 additions and 1 deletions

3
pub.sh
View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
VER=`./getsvnrev.sh`
echo "<script language=\"php\">" >website/currentrev.php echo "<script language=\"php\">" >website/currentrev.php
./getsvnrev.sh >>website/currentrev.php echo "echo \"$VER\"; " >>website/currentrev.php
echo "</script>" >>website/currentrev.php echo "</script>" >>website/currentrev.php
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/ scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
cd website cd website