From ee34616277d4f66fd3b9e3f97bb48ab7acc18698 Mon Sep 17 00:00:00 2001 From: Eloston Date: Tue, 27 Mar 2018 20:19:29 +0000 Subject: [PATCH] process_build_outputs.py: Fix --include-* arguments --- resources/packaging/shared/process_build_outputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/packaging/shared/process_build_outputs.py b/resources/packaging/shared/process_build_outputs.py index 6244e19f..2eae7588 100755 --- a/resources/packaging/shared/process_build_outputs.py +++ b/resources/packaging/shared/process_build_outputs.py @@ -152,11 +152,11 @@ def main(arg_list=None): ' by the file extension. Currently supported types: .zip and' ' .tar.{gz,bz2,xz}')) parser_archive.add_argument( - '--include-file', type=Path, metavar='PATH', dest='append', default=tuple(), + '--include-file', type=Path, metavar='PATH', action='append', default=tuple(), help=('File to include in the root of the archive. Specify' ' multiple times to include multiple files.')) parser_archive.add_argument( - '--include-dir', type=Path, metavar='PATH', dest='append', default=tuple(), + '--include-dir', type=Path, metavar='PATH', action='append', default=tuple(), help=('Contents of specified directory to include at the root of the' ' archive. For zip files, these contents must only be regular' ' files. Specify multiple times to include multiple dirs.'))