forked from qt-creator/qt-creator
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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user