From 99fd03d6a7dafef6dbed472dc25201771beb6942 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 8 Apr 2016 15:31:10 +0200 Subject: [PATCH] libapse.lib: ignore everything after a dash ('-') when checking for last version --- lib/libapse.lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libapse.lib.in b/lib/libapse.lib.in index a1a96ce..e486578 100644 --- a/lib/libapse.lib.in +++ b/lib/libapse.lib.in @@ -565,7 +565,7 @@ apse.cmpversion \"$last_version\" \"$new_version\"" unset APSE_LAST_VERSION if [ "$last_version" ]; then - APSE_LAST_VERSION="${last_version/-/.}" + APSE_LAST_VERSION="${last_version/-*}" notify.note $"\ last version of \`${NOTE}$specname${NORM}' found:"" \ \`${NOTE}${APSE_LAST_VERSION}${NORM}'"