From 3083abeb95e95dd1d12e78f1973546d93c3e12ab Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 14 Nov 2019 19:37:41 -0500 Subject: 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 --- utils/common/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): for f in programfiles: if re.match(r'^(/|[a-zA-Z]:)', f) != None: shutil.copy(f, outfolder) - else: + elif len(f) > 0: shutil.copy(buildfolder + "/" + f, outfolder) # create zipball from output folder zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) -- cgit v1.2.3