Commit 99fd03d6a7dafef6dbed472dc25201771beb6942

Authored by Silvan Calarco
1 parent 7761a49bb3
Exists in master

libapse.lib: ignore everything after a dash ('-') when checking for last version

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -565,7 +565,7 @@
565 565 unset APSE_LAST_VERSION
566 566  
567 567 if [ "$last_version" ]; then
568   - APSE_LAST_VERSION="${last_version/-/.}"
  568 + APSE_LAST_VERSION="${last_version/-*}"
569 569 notify.note $"\
570 570 last version of \`${NOTE}$specname${NORM}' found:"" \
571 571 \`${NOTE}${APSE_LAST_VERSION}${NORM}'"