From f9e06afbd89fea62cd3ed34d5b3eb9ba53a505ee Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Sun, 18 Aug 2019 12:48:39 -0500 Subject: [PATCH] reset build dir each time --- bedrock-linux-99.99.99-x86_64.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bedrock-linux-99.99.99-x86_64.sh b/bedrock-linux-99.99.99-x86_64.sh index fd28186..0580310 100644 --- a/bedrock-linux-99.99.99-x86_64.sh +++ b/bedrock-linux-99.99.99-x86_64.sh @@ -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