Bug fix: Remove shortest match of trailing dot.

This commit is contained in:
dabruh 2022-05-29 19:40:25 +02:00
parent 1b4136756e
commit 6fc1558880
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ function get_file_name() {
local fn local fn
fn="$(get_field file)" fn="$(get_field file)"
fn="${fn##*/}" fn="${fn##*/}"
fn="${fn%%.*}" fn="${fn%.*}"
echo "$fn" echo "$fn"
} }