Skip to content

Commit a2938d9

Browse files
authored
build add missing if statement (#683)
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent eda569d commit a2938d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_openroad.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,9 @@ __cleanup()
382382
git submodule foreach --recursive git clean ${CLEAN_CMD}
383383
}
384384

385-
__cleanup
385+
if [ ! -z "${CLEAN_BEFORE+x}" ]; then
386+
__cleanup
387+
fi
386388
__logging
387389
__args_setup
388390
__common_setup

0 commit comments

Comments
 (0)