From 70a3e07704d388298189e10984fd6f09c2ff9801 Mon Sep 17 00:00:00 2001 From: tke Date: Thu, 2 Feb 2023 14:08:08 +0100 Subject: [PATCH] Fixed Bug in build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 89520a6..78dbc04 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ cd $( dirname -- "${BASH_SOURCE[0]}" ) newtag=$(curl https://github.com/ahmedkhlief/APT-Hunter/tags.atom | grep -Pio 'link.*' | grep -Pio '(?<=href=")[^"]+' | grep tag | head -n1 | grep -Pio '(?<=tag/).*$' | tr -dc '[[:alnum:]]' | tr '[[:upper:]]' '[[:lower:]]') if [[ -f ./old-tag.txt ]] ; then oldtag=$(cat ./old-tag.txt) -if [[ "${oldtag}" -eq "${newtag}" ]] ; then +if [[ "${oldtag}" == "${newtag}" ]] ; then echo "Versions match - Exiting" exit fi