Skip to content

Commit

Permalink
Update repo-clean.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed May 25, 2023
1 parent de54b18 commit 26a6f62
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/repo-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ rm -rf $RDIR/toolchains/esp-tools/riscv-tests/build.log
popd
)
(
pushd $RDIR/generators/cva6/src/main/resources/vsrc/cva6
if [ -d cva6 ]
if [ -d $RDIR/generators/cva6/src/main/resources/vsrc/cva6 ]
then
git submodule deinit -f cva6
pushd $RDIR/generators/cva6/src/main/resources/vsrc/cva6
if [ -d cva6 ]
then
git submodule deinit -f cva6
fi
popd
fi
popd
)

0 comments on commit 26a6f62

Please sign in to comment.