diff options
-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) |