forked from qt-creator/qt-creator
Integrate deployqtHelp_mac.sh into deployqt.py
For now this is a dummy integration by just calling the former from the latter, which has the advantage that - only one script needs to be used for all platforms - passing just qmake instead of individual install paths is enough also on macOS Change-Id: Ie05077ada950addd287b87d88045605d3bddb48f Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -46,11 +46,11 @@ def to_posix_path(path):
|
||||
return path.replace('\\', '/')
|
||||
return path
|
||||
|
||||
def check_print_call(command, workdir, env=None):
|
||||
def check_print_call(command, workdir=None, env=None):
|
||||
print('------------------------------------------')
|
||||
print('COMMAND:')
|
||||
print(' '.join(['"' + c.replace('"', '\\"') + '"' for c in command]))
|
||||
print('PWD: "' + workdir + '"')
|
||||
print('PWD: "' + (workdir if workdir else os.getcwd()) + '"')
|
||||
print('------------------------------------------')
|
||||
subprocess.check_call(command, cwd=workdir, env=env)
|
||||
|
||||
|
Reference in New Issue
Block a user