From 9cb0e2683cecbafad351da31e472ecb1e67888db Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Mon, 28 Feb 2022 15:09:25 +0100 Subject: [PATCH] FreeBSD package repository: use . as separator when checking whether package already exists --- packaging/FreeBSD-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/FreeBSD-repo.sh b/packaging/FreeBSD-repo.sh index 22f6ea0..90fc987 100755 --- a/packaging/FreeBSD-repo.sh +++ b/packaging/FreeBSD-repo.sh @@ -78,7 +78,7 @@ if [ "$(basename "${FILENAME}" .pkg)" = "$(basename "${FILENAME}")" ]; then exit 0 fi -if ls "${REPO}"/*/All/"${JOB}"-*-"${SHA}".pkg > /dev/null; then +if ls "${REPO}"/*/All/"${JOB}"-*."${SHA}".pkg > /dev/null; then echo "Same hash already present, nothing to do" exit 0 fi