reset build dir each time

This commit is contained in:
Cole Deck 2019-08-18 12:48:39 -05:00
parent ed880c10f7
commit f9e06afbd8

View File

@ -5,9 +5,8 @@
if which brl > /dev/null 2>&1; then
echo "Fetching latest commits from repository..."
if [ -d /bedrock/cache/bedrocklinux-userland ]; then
cd /bedrock/cache/bedrocklinux-userland
git pull -q
else
less_lethal_rm_rf /bedrock/cache/bedrocklinux-userland
fi
mkdir -p /bedrock/cache
cd /bedrock/cache
git clone https://github.com/bedrocklinux/bedrocklinux-userland