macOS: Environment with 'Open Terminal Here'

Regression introduced with 8b4344f2a2

Change-Id: Ic839a6151e2b5fb06c8a685f5b5097d5d6894bbe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2019-11-07 14:01:49 +01:00
parent aaef25f708
commit e6060d19d7

View File

@@ -106,7 +106,7 @@ def main():
'cd ' + quote_shell(os.getcwd()) + '\n' + 'cd ' + quote_shell(os.getcwd()) + '\n' +
' '.join([quote_shell(arg) for arg in sys.argv[1:]]) + '\n' + ' '.join([quote_shell(arg) for arg in sys.argv[1:]]) + '\n' +
'rm ' + quoted_shell_script + '\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.write(commands)
shell_script.flush() shell_script.flush()