diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/common/deploy.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py index 24163d2c98..f57447a158 100755 --- a/utils/common/deploy.py +++ b/utils/common/deploy.py | |||
@@ -354,11 +354,7 @@ def zipball(programfiles, versionstring, buildfolder, platform=sys.platform): | |||
354 | for root, dirs, files in os.walk(outfolder): | 354 | for root, dirs, files in os.walk(outfolder): |
355 | for name in files: | 355 | for name in files: |
356 | physname = os.path.normpath(os.path.join(root, name)) | 356 | physname = os.path.normpath(os.path.join(root, name)) |
357 | filename = string.replace(physname, os.path.normpath(buildfolder), "") | 357 | filename = os.path.relpath(physname, buildfolder) |
358 | zf.write(physname, filename) | ||
359 | for name in dirs: | ||
360 | physname = os.path.normpath(os.path.join(root, name)) | ||
361 | filename = string.replace(physname, os.path.normpath(buildfolder), "") | ||
362 | zf.write(physname, filename) | 358 | zf.write(physname, filename) |
363 | zf.close() | 359 | zf.close() |
364 | # remove output folder | 360 | # remove output folder |