X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=tools%2Fupdate%20web%20site;h=62e321e06b57e94591682e04a2da7ef700bd6578;hp=8f630847adf6139219c3f27e4321994a98b5e0f8;hb=359693b60cec17a2a662de310f7d53104cfc8649;hpb=2e78e3bdbfe899e9b19211715adea4604b169945 diff --git a/tools/update web site b/tools/update web site index 8f63084..62e321e 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,5 +1,11 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; +cd "${0%/*}" +cd .. + + + + + # # TODO: needs updating @@ -23,5 +29,4 @@ cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; # rsync -avz --delete target/website/ n0@svjatoslav.eu:/var/www/svjatoslav.eu/projects/sixth # ) -echo "Script finished. Press ENTER to close this terminal" -read +rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d/