summaryrefslogtreecommitdiffstats
path: root/utils/common/deploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/deploy.py')
-rwxr-xr-xutils/common/deploy.py5
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):
appbundle = buildfolder + "/" + progexe
# workaround to Qt issues when building out-of-tree. Copy files into bundle.
- sourcebase = buildfolder + re.sub('rbutilqt.pro$', '', project)
+ sourcebase = buildfolder + re.sub('[^/]+.pro$', '', project) + "/"
+ print sourcebase
for src in bundlecopy:
- shutil.copy(sourcebase + src, appbundle + bundlecopy[src])
+ shutil.copy(sourcebase + src, appbundle + "/" + bundlecopy[src])
# end of Qt workaround
output = subprocess.Popen(["macdeployqt", progexe, "-dmg"], stdout=subprocess.PIPE, cwd=buildfolder)