Delete all temporary files even when using -E flag
The -E flag causes the driver to exit early. Be careful to delete all the various temporary files even in this case.
This commit is contained in:
parent
13958cf374
commit
1bc56fcc93
|
|
@ -806,8 +806,11 @@ int main(int argc, char **argv)
|
|||
rc = system(cmd);
|
||||
remove(source_path);
|
||||
fclose(iconfig_file);
|
||||
if ( ! getenv("IVERILOG_ICONFIG"))
|
||||
if ( ! getenv("IVERILOG_ICONFIG")) {
|
||||
remove(iconfig_path);
|
||||
remove(defines_path);
|
||||
remove(compiled_defines_path);
|
||||
}
|
||||
|
||||
if (rc != 0) {
|
||||
if (WIFEXITED(rc)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue