grcc: save generated hier code to the correct location

Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
This commit is contained in:
Volker Schroer 2022-02-02 16:57:55 +01:00 committed by mormj
parent 4ff64d0321
commit 08a06852d3

View File

@ -55,7 +55,7 @@ def main(args=None):
for grc_file in args.grc_files:
os.path.exists(grc_file) or exit('Error: missing ' + grc_file)
Messages.send('\n')
platform.config.hier_block_lib_dir = output_dir
flow_graph, file_path = platform.load_and_generate_flow_graph(
os.path.abspath(grc_file), os.path.abspath(output_dir))
if not file_path: