diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/common/deploy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py index f4f3fac786..42d0375529 100755 --- a/utils/common/deploy.py +++ b/utils/common/deploy.py | |||
@@ -289,9 +289,10 @@ def macdeploy(versionstring, buildfolder): | |||
289 | appbundle = buildfolder + "/" + progexe | 289 | appbundle = buildfolder + "/" + progexe |
290 | 290 | ||
291 | # workaround to Qt issues when building out-of-tree. Copy files into bundle. | 291 | # workaround to Qt issues when building out-of-tree. Copy files into bundle. |
292 | sourcebase = buildfolder + re.sub('rbutilqt.pro$', '', project) | 292 | sourcebase = buildfolder + re.sub('[^/]+.pro$', '', project) + "/" |
293 | print sourcebase | ||
293 | for src in bundlecopy: | 294 | for src in bundlecopy: |
294 | shutil.copy(sourcebase + src, appbundle + bundlecopy[src]) | 295 | shutil.copy(sourcebase + src, appbundle + "/" + bundlecopy[src]) |
295 | # end of Qt workaround | 296 | # end of Qt workaround |
296 | 297 | ||
297 | output = subprocess.Popen(["macdeployqt", progexe, "-dmg"], stdout=subprocess.PIPE, cwd=buildfolder) | 298 | output = subprocess.Popen(["macdeployqt", progexe, "-dmg"], stdout=subprocess.PIPE, cwd=buildfolder) |