Don't leak temp files :)

This commit is contained in:
southerntofu 2020-09-23 17:03:17 -04:00
parent aaa2d8bd72
commit b593854cc0
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ function teardown {
function clean {
if [ -d $GITREPO ]; then rm -rf $GITREPO; fi
if [ -d $FORGEBUILDDIR ]; then rm -rf $FORGEBUILDDIR; fi
if [ -d $SUBMODULE ]; then rm -rf $SUBMODULE; fi
if [ -f /tmp/forgebuild-time ]; then rm /tmp/forgebuild-time; fi
if [ -f /tmp/forgebuild-host ]; then rm /tmp/forgebuild-host; fi
if [ -f /tmp/forgebuild-branch ]; then rm /tmp/forgebuild-branch; fi