diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-07-28 21:05:16 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-07-28 21:05:16 +0000 |
| commit | 85f84060c4566d2a9e0867a1203751d77899547c (patch) | |
| tree | 161b8c37480b64f8e96e873996792217ebe14998 | |
| parent | ce1d2bf7b19960d7a5a1dc208a291dce7c6b305e (diff) | |
| download | rockbox-85f84060c4566d2a9e0867a1203751d77899547c.zip rockbox-85f84060c4566d2a9e0867a1203751d77899547c.tar.gz rockbox-85f84060c4566d2a9e0867a1203751d77899547c.tar.bz2 rockbox-85f84060c4566d2a9e0867a1203751d77899547c.tar.xz | |
Correct OS X post-build bundle copying.
Make copying files to the bundle work when building other applications than
Rockbox Utility by replacing a hardcoded workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27606 a1c6a512-1295-4272-9138-f99709370657
| -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 f4f3fac..42d0375 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) |