aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ci/boost/build.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-16 09:55:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-16 12:04:44 +0300
commitf1b56311d06aa2371779a34aae0be55e7bb1c1f6 (patch)
tree687a80dee6ab90fb502148a75490085d4f9114ed /ci/boost/build.py
parentci: minor script enhancements (diff)
downloadcmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.tar.gz
cmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.zip
ci: fix a bug in case no positional parameters
Diffstat (limited to 'ci/boost/build.py')
-rwxr-xr-xci/boost/build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/boost/build.py b/ci/boost/build.py
index 63f8e0f..d535338 100755
--- a/ci/boost/build.py
+++ b/ci/boost/build.py
@@ -284,16 +284,16 @@ def _parse_args(argv=None):
build = subparsers.add_parser('build', help='build Boost libraries')
build.add_argument('--platform', metavar='PLATFORM',
- nargs='*', dest='platforms', default=(),
+ nargs='*', dest='platforms', default=[],
type=_parse_platform,
help='target platform (e.g. x86/x64)')
build.add_argument('--configuration', metavar='CONFIGURATION',
- nargs='*', dest='configurations', default=(),
+ nargs='*', dest='configurations', default=[],
type=_parse_configuration,
help='target configuration (e.g. Debug/Release)')
build.add_argument('boost_dir', metavar='DIR',
help='Boost root directory')
- build.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=(),
+ build.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[],
help='additional b2 arguments, to be passed verbatim')
return parser.parse_args(argv)