Website update script creates its own terminal window.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Thu, 21 Jun 2018 23:40:18 +0000 (02:40 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Thu, 21 Jun 2018 23:40:18 +0000 (02:40 +0300)
tools/update web site

index 7c6d92b..c210d82 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
-cd "${0%/*}"
-cd ..
+cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
 
+cd ..
 
 mvn clean package
 
@@ -15,3 +15,7 @@ javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "raster engine"
 meviz index -w doc/graphs/ -t "Sixth 3D classes"
 
 rsync -avz --delete  -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d/
+
+echo ""
+echo "Press ENTER to close this window."
+read