diff options
author | Franklin Wei <franklin@rockbox.org> | 2019-11-14 19:37:41 -0500 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2019-11-14 19:42:06 -0500 |
commit | 3083abeb95e95dd1d12e78f1973546d93c3e12ab (patch) | |
tree | 301cc3ae2a1be8a212bf44cc104809908b9e24a0 | |
parent | 3f89f1ce44929349f1b6e2c38711581f26e58fb5 (diff) | |
download | rockbox-3083abeb95e95dd1d12e78f1973546d93c3e12ab.tar.gz rockbox-3083abeb95e95dd1d12e78f1973546d93c3e12ab.zip |
deploy-rbutil.py: allow zipball building to proceed if no DLLs are found
This helps with MXE static builds, which were failing because no DLLs were
found.
Change-Id: Id3fcdf9a7682a9ecb6a5892415077bf16e8b24cb
-rwxr-xr-x | utils/common/deploy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py index 6ce8c43a14..3f3b160752 100755 --- a/utils/common/deploy.py +++ b/utils/common/deploy.py | |||
@@ -347,7 +347,7 @@ def zipball(programfiles, versionstring, buildfolder, platform=sys.platform): | |||
347 | for f in programfiles: | 347 | for f in programfiles: |
348 | if re.match(r'^(/|[a-zA-Z]:)', f) != None: | 348 | if re.match(r'^(/|[a-zA-Z]:)', f) != None: |
349 | shutil.copy(f, outfolder) | 349 | shutil.copy(f, outfolder) |
350 | else: | 350 | elif len(f) > 0: |
351 | shutil.copy(buildfolder + "/" + f, outfolder) | 351 | shutil.copy(buildfolder + "/" + f, outfolder) |
352 | # create zipball from output folder | 352 | # create zipball from output folder |
353 | zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) | 353 | zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) |