diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-11-07 14:01:49 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-11-07 13:46:22 +0000 |
commit | e6060d19d7918ec1cddbe7f3a6f49ea1a40edd5c (patch) | |
tree | 225f1156cd8c0f23b870afb1a5b29fedb25c6d44 | |
parent | aaef25f70855bcf9c3c794b95fb1e44a2542f107 (diff) | |
download | qt-creator-e6060d19d7918ec1cddbe7f3a6f49ea1a40edd5c.tar.gz |
macOS: Environment with 'Open Terminal Here'
Regression introduced with 8b4344f2a295db6ba0aad42148e67c62009bab79
Change-Id: Ic839a6151e2b5fb06c8a685f5b5097d5d6894bbe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rwxr-xr-x | share/qtcreator/scripts/openTerminal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/scripts/openTerminal.py b/share/qtcreator/scripts/openTerminal.py index e931c6bb26..513a7c6a4b 100755 --- a/share/qtcreator/scripts/openTerminal.py +++ b/share/qtcreator/scripts/openTerminal.py @@ -106,7 +106,7 @@ def main(): 'cd ' + quote_shell(os.getcwd()) + '\n' + ' '.join([quote_shell(arg) for arg in sys.argv[1:]]) + '\n' + 'rm ' + quoted_shell_script + '\n' + - 'exit\n' if len(sys.argv) > 1 else '' + ('exit\n' if len(sys.argv) > 1 else '') ) shell_script.write(commands) shell_script.flush() |