From 8a353fd0dd25980012e04f47829cae68e0f7a7f3 Mon Sep 17 00:00:00 2001 From: shark Date: Mon, 19 Aug 2019 22:44:41 +0000 Subject: [PATCH] less than, not less than or equal to --- bedrock-linux-99.99.99-x86_64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedrock-linux-99.99.99-x86_64.sh b/bedrock-linux-99.99.99-x86_64.sh index 4951052..b0c9cb2 100644 --- a/bedrock-linux-99.99.99-x86_64.sh +++ b/bedrock-linux-99.99.99-x86_64.sh @@ -15,7 +15,7 @@ newest_version=$(awk -F= '/^VERSION=/{print$2}' Makefile | sed 's/[a-z].*$//')-g echo "Current Version: ${current_version}" echo "Newest Version: ${newest_version}" if ver_cmp_first_newer ${current_version} ${newest_version}; then - if [ ${#current_version} -le ${#newest_version} ]; then + if [ ${#current_version} -lt ${#newest_version} ]; then echo "Building for the first time. Building Bedrock Linux version ${newest_version}" else echo "Up to date with the latest commit, nothing to do."