From eea57c05ef3927fd791ad8b500d8d6e6f7c09190 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Fri, 22 Jun 2018 02:40:18 +0300 Subject: [PATCH] Website update script creates its own terminal window. --- tools/update web site | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/update web site b/tools/update web site index 7c6d92b..c210d82 100755 --- a/tools/update web site +++ b/tools/update web site @@ -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 -- 2.20.1