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."