diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py')
-rw-r--r--[-rwxr-xr-x] | Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py b/Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py index 11897764e..366c41314 100755..100644 --- a/Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py +++ b/Tools/Scripts/webkitpy/common/multiprocessing_bootstrap.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2011 Google Inc. All rights reserved. # Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) # @@ -58,7 +57,8 @@ def run(*parts): # doesn't need to do it and their process id as reported by # subprocess.Popen is not jhbuild's. if '--gtk' in sys.argv[1:] and os.path.exists(os.path.join(script_dir, '..', '..', 'WebKitBuild', 'Dependencies')): - cmd.insert(1, os.path.join(script_dir, '..', 'gtk', 'run-with-jhbuild')) + prefix = [os.path.join(script_dir, '..', 'jhbuild', 'jhbuild-wrapper'), '--gtk', 'run'] + cmd = prefix + cmd proc = subprocess.Popen(cmd, env=env) try: |