diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-08 23:29:54 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-08 23:29:54 +0100 |
commit | 07afb143187aa6e74bee79c4d561e0435ff7605f (patch) | |
tree | 82b33240688594db2501b7b0c15ff0e78a5ffd55 /passes | |
parent | 183d4f8e711e0de91187b33b828144e482b6c94f (diff) | |
download | yosys-07afb143187aa6e74bee79c4d561e0435ff7605f.tar.gz yosys-07afb143187aa6e74bee79c4d561e0435ff7605f.tar.bz2 yosys-07afb143187aa6e74bee79c4d561e0435ff7605f.zip |
Fixed bug in "show -format .."
Diffstat (limited to 'passes')
-rw-r--r-- | passes/cmds/show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index 2779cabf9..63da29b94 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"); |