[yosys] 32/38: Fixed bug in "show -format .."
Ruben Undheim
rubund-guest at moszumanska.debian.org
Mon Feb 9 19:36:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to tag upstream/0.5.0
in repository yosys.
commit 07afb143187aa6e74bee79c4d561e0435ff7605f
Author: Clifford Wolf <clifford at clifford.at>
Date: Sun Feb 8 23:29:54 2015 +0100
Fixed bug in "show -format .."
---
passes/cmds/show.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc
index 2779cab..63da29b 100644
--- a/passes/cmds/show.cc
+++ b/passes/cmds/show.cc
@@ -794,7 +794,7 @@ struct ShowPass : public Pass {
log_cmd_error("Nothing there to show.\n");
if (format != "dot" && !format.empty()) {
- std::string cmd = stringf("dot -T%s -o '%s.new' '%s' && mv '%s.new' '%s'", format.c_str(), out_file.c_str(), dot_file.c_str(), dot_file.c_str(), dot_file.c_str());
+ std::string cmd = stringf("dot -T%s -o '%s.new' '%s' && mv '%s.new' '%s'", format.c_str(), out_file.c_str(), dot_file.c_str(), out_file.c_str(), out_file.c_str());
log("Exec: %s\n", cmd.c_str());
if (run_command(cmd) != 0)
log_cmd_error("Shell command failed!\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yosys.git
More information about the debian-science-commits
mailing list