Don't leak temp files :)
This commit is contained in:
parent
aaa2d8bd72
commit
b593854cc0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue