commit 99db2920e52513904beaab4ec01f757ee7b96a1b
Author: Elan Ruusamäe <[email protected]>
Date: Sat Oct 10 02:33:31 2015 +0300
wrapper: fix restart errors
previous code attempted to restart 'phstorm.sh' which was not in path
+ test 88 -ne 88
+ phpstorm.sh
phpstorm.sh[194]: phpstorm.sh: not found
phpstorm.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/phpstorm.py b/phpstorm.py
index fc75c88..7abfe96 100755
--- a/phpstorm.py
+++ b/phpstorm.py
@@ -94,6 +94,4 @@ if sys.platform == "darwin":
os.execvp("open", ["-a", RUN_PATH] + args)
else:
# unix common
- bin_dir, bin_file = os.path.split(RUN_PATH)
- os.chdir(bin_dir)
- os.execv(bin_file, [bin_file] + args)
+ os.execv(RUN_PATH, [RUN_PATH] + args)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/phpstorm.git/commitdiff/99db2920e52513904beaab4ec01f757ee7b96a1b
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit