X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=blobdiff_plain;f=tools%2Fcommit%20and%20push;h=5931849e828e81dac9e9cb4f57bdcf0c8cd77af3;hp=057b511afb9ab4004d683838c1f504d1dc36204b;hb=f0ebc20d0438fc46be1d98fb3643bd4196cb64c9;hpb=bd6502aee14dbda7936780fd81d1b1520c2d1cb8 diff --git a/tools/commit and push b/tools/commit and push index 057b511..5931849 100755 --- a/tools/commit and push +++ b/tools/commit and push @@ -1,5 +1,7 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; + +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -- "$0" T; exit; fi; + cd ..