From a74239fb35954c4597be9711338d41d7e9b06c00 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Wed, 10 Aug 2022 20:56:51 +0200 Subject: [PATCH] f4pga/wrappers/sh/pack: use Path instead of bash's mv Signed-off-by: Unai Martinez-Corral --- f4pga/wrappers/sh/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/f4pga/wrappers/sh/__init__.py b/f4pga/wrappers/sh/__init__.py index 0a03baa..2d6bbcb 100644 --- a/f4pga/wrappers/sh/__init__.py +++ b/f4pga/wrappers/sh/__init__.py @@ -77,10 +77,8 @@ def generate_constraints(): def pack(): print("[F4PGA] Running (deprecated) pack") extra_args = ['--write_block_usage', 'block_usage.json'] if isQuickLogic else [] - run_bash_cmds(vpr_common_cmds('pack')+f""" -run_vpr --pack {' '.join(extra_args)} -mv vpr_stdout.log pack.log -""") + run_bash_cmds(vpr_common_cmds('pack')+f"run_vpr --pack {' '.join(extra_args)}") + Path('vpr_stdout.log').rename('pack.log') def place():