From: Clifford Wolf Date: Sun, 24 Mar 2013 14:21:57 +0000 (+0100) Subject: Fixed handling of show -viewer X-Git-Tag: yosys-0.2.0~688 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1a80b356e3af1ecd1cdb796ecb0ce2773dbd003;p=yosys.git Fixed handling of show -viewer --- diff --git a/kernel/show.cc b/kernel/show.cc index 942f5b264..6ecdc99cb 100644 --- a/kernel/show.cc +++ b/kernel/show.cc @@ -474,7 +474,7 @@ struct ShowPass : public Pass { log_cmd_error("Shell command failed!\n"); if (!viewer_exe.empty()) { - cmd = stringf("%s '%s' &", viewer_exe.c_str(), dot_file.c_str()); + cmd = stringf("%s '%s' &", viewer_exe.c_str(), ps_file.c_str()); log("Exec: %s\n", cmd.c_str()); if (system(cmd.c_str()) != 0) log_cmd_error("Shell command failed!\n");