From f319b77092bb215b4de73fcfc0c681a3434cc90f Mon Sep 17 00:00:00 2001 From: shark Date: Mon, 19 Aug 2019 22:44:03 +0000 Subject: [PATCH] Update 'bedrock-linux-99.99.99-x86_64.sh' --- bedrock-linux-99.99.99-x86_64.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bedrock-linux-99.99.99-x86_64.sh b/bedrock-linux-99.99.99-x86_64.sh index f8241d0..4951052 100644 --- a/bedrock-linux-99.99.99-x86_64.sh +++ b/bedrock-linux-99.99.99-x86_64.sh @@ -5,12 +5,11 @@ echo "Fetching latest commits from repository..." if [ -d /bedrock/cache/bedrocklinux-userland ]; then less_lethal_rm_rf /bedrock/cache/bedrocklinux-userland fi - mkdir -p /bedrock/cache - cd /bedrock/cache - git clone https://github.com/bedrocklinux/bedrocklinux-userland - cd bedrocklinux-userland - git checkout 0.7 -q -fi +mkdir -p /bedrock/cache +cd /bedrock/cache +git clone https://github.com/bedrocklinux/bedrocklinux-userland +cd bedrocklinux-userland +git checkout 0.7 -q current_version="$(awk '{print$3}'