X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmozjs68.git;a=blobdiff_plain;f=include-configure-script.patch;fp=include-configure-script.patch;h=211d717974f41e37f186233bdb2332dfddeab589;hp=c24d7b157f3b2081feafe011c7ca0de316ecb4c4;hb=01a335640f4b77f7111a440ceb3622b1a5076d34;hpb=2dd63900ecc775b225e8d517711f3604698047bf diff --git a/include-configure-script.patch b/include-configure-script.patch index c24d7b1..211d717 100644 --- a/include-configure-script.patch +++ b/include-configure-script.patch @@ -20,11 +20,11 @@ index 0fe640ca..09b460d3 100644 --- a/python/mozbuild/mozbuild/configure/__init__.py +++ b/python/mozbuild/mozbuild/configure/__init__.py @@ -356,7 +356,7 @@ def run(self, path=None): - # All options should have been removed (handled) by now. - for arg in self._helper: - without_value = arg.split('=', 1)[0] -- raise InvalidOptionError('Unknown option: %s' % without_value) -+ print('Ignoring', without_value, ': Unknown option') + if self._help: + self._logger.warning(msg) + else: +- raise InvalidOptionError(msg) ++ print(msg) # Run the execution queue for func, args in self._execution_queue: