Tools: fix code_clean cleaning generated files
When a relative build directory was passed in, code-clean wasn't filtering out generated sources and would clean them too.
This commit is contained in:
parent
c2dfa1a066
commit
90e123c746
|
@ -1973,7 +1973,7 @@ def main() -> int:
|
|||
parser = create_parser(edits_all, edits_all_default)
|
||||
args = parser.parse_args()
|
||||
|
||||
build_dir = args.build_dir
|
||||
build_dir = os.path.normpath(os.path.abspath(args.build_dir))
|
||||
regex_list = []
|
||||
|
||||
for expr in args.match:
|
||||
|
|
Loading…
Reference in New Issue