summaryrefslogtreecommitdiff
path: root/passes/cmds/show.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-06-09 00:07:26 +0200
committerClifford Wolf <clifford@clifford.at>2013-06-09 00:07:26 +0200
commitbf59a28f80fc321b139772804d52e441194040f7 (patch)
treec1b2c871be22a499c55af13ca4d6b7068b5e63bc /passes/cmds/show.cc
parent6c8a424872ff2925c4c87fce6d9a9c9fc74a0800 (diff)
Look for yosys-abc and yosys-svgviewer where the main exe is
Diffstat (limited to 'passes/cmds/show.cc')
-rw-r--r--passes/cmds/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc
index c66320b3..4ed4a95c 100644
--- a/passes/cmds/show.cc
+++ b/passes/cmds/show.cc
@@ -672,7 +672,7 @@ struct ShowPass : public Pass {
log_cmd_error("Shell command failed!\n");
} else
if (format.empty()) {
- cmd = stringf("fuser -s '%s' || yosys-svgviewer '%s' &", out_file.c_str(), out_file.c_str());
+ cmd = stringf("fuser -s '%s' || '%s' '%s' &", out_file.c_str(), rewrite_yosys_exe("yosys-svgviewer").c_str(), out_file.c_str());
log("Exec: %s\n", cmd.c_str());
if (system(cmd.c_str()) != 0)
log_cmd_error("Shell command failed!\n");