Do not remove non-existing temporary directory

This commit is contained in:
southerntofu 2020-09-17 20:11:20 +02:00
parent dbad736d0a
commit c6de084cc4
1 changed files with 1 additions and 1 deletions

View File

@ -261,6 +261,6 @@ function setup_submodule {
rm $HOME/.forgebuild
if [ ! -z $NEWDIR ]; then
mv $NEWDIR/.forgebuild $HOME
rmdir $NEWDIR
fi
rmdir $NEWDIR
}