Fix a warning when $BUILDDIR/sources is empty and "Rebuild files" is done
This commit is contained in:
parent
e650dc782c
commit
8ea21f8684
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ if [ "${CLEAN}" = "y" ]; then
|
|||
sudo rm -rf $JHALFSDIR
|
||||
echo "done"
|
||||
echo -n "Cleaning remaining extracted sources in $BUILDDIR/sources ..."
|
||||
sudo rm -rf `find $BUILDDIR/sources/* -maxdepth 0 -type d`
|
||||
sudo rm -rf `find $BUILDDIR/sources -maxdepth 1 -mindepth 1 -type d`
|
||||
echo "done"
|
||||
fi
|
||||
fi
|
||||
|
|
Reference in a new issue