Skip to content

Commit 7d9f5fd

Browse files
committed
fixup! sdc_expand, opensta: start
1 parent 5646fb6 commit 7d9f5fd

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

techlibs/common/sdc_expand.cc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,13 @@ struct SdcexpandPass : public ScriptPass
137137
opensta_pass_call += " -nocleanup";
138138
run(opensta_pass_call.c_str());
139139

140-
if (cleanup) {
141-
log("Removing temp directory.\n");
142-
remove_directory(tempdir_name);
143-
} else {
144-
log("Keeping temp directory %s\n", tempdir_name.c_str());
145-
}
140+
if (!help_mode)
141+
if (cleanup) {
142+
log("Removing temp directory.\n");
143+
remove_directory(tempdir_name);
144+
} else {
145+
log("Keeping temp directory %s\n", tempdir_name.c_str());
146+
}
146147
run("design -load pre_expand");
147148
}
148149
} SdcexpandPass;

0 commit comments

Comments
 (0)