summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-11-07 14:01:49 +0100
committerEike Ziller <eike.ziller@qt.io>2019-11-07 13:46:22 +0000
commite6060d19d7918ec1cddbe7f3a6f49ea1a40edd5c (patch)
tree225f1156cd8c0f23b870afb1a5b29fedb25c6d44 /share
parentaaef25f70855bcf9c3c794b95fb1e44a2542f107 (diff)
downloadqt-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>
Diffstat (limited to 'share')
-rwxr-xr-xshare/qtcreator/scripts/openTerminal.py2
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()