X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=physical.git;a=blobdiff_plain;f=repository%20handling%20tools%2Fcommit%20and%20push;fp=repository%20handling%20tools%2Fcommit%20and%20push;h=e674bf161f257412a006bee6f0d4d126d00e004f;hp=b3a2a3e76b247daaf0c10d3457f60059eea195ba;hb=1f5837e76c16933049a1086ad433f51923a7e50b;hpb=ac6beee92f6836f3ed1e87899d7b90680328069e diff --git a/repository handling tools/commit and push b/repository handling tools/commit and push index b3a2a3e..e674bf1 100755 --- a/repository handling tools/commit and push +++ b/repository handling tools/commit and push @@ -1,5 +1,6 @@ #!/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 ..