Allows new style config to be used for --flagfile
* includes tests * fixes bug 947549 Change-Id: Ibf319ea75a2d6156c5d8f1112cd58a33e5a98fe0
This commit is contained in:
@@ -97,6 +97,10 @@ def _read_flagfile(arg, next_arg, tempdir=None):
|
||||
|
||||
args = _read_lines(flagfile)
|
||||
|
||||
if args and not args[0].startswith('--'):
|
||||
# This is a config file, not a flagfile, so return it.
|
||||
return ['--config-file=' + flagfile] + argp[1:]
|
||||
|
||||
#
|
||||
# We're recursing here to convert any --flagfile arguments
|
||||
# read from this flagfile into --config-file arguments
|
||||
|
Reference in New Issue
Block a user