1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

tools: Drop bashisms on new release-stats.sh versioning evaluation

This commit is contained in:
Bruno Lopes
2025-09-02 15:53:13 -03:00
parent fc4eb6730c
commit 0191e0a485

View File

@@ -52,8 +52,13 @@ fi
prev_date=`git log -1 --format=%ci $PREV`
cur_date=`git log -1 --format=%ci $CUR`
IFS=_ read -r gimp prevmajor prevminor prevmicro <<<"$1"
IFS=_ read -r gimp major minor micro <<<"$2"
prevmajor=$(echo "$1" | cut -d'_' -f2)
prevminor=$(echo "$1" | cut -d'_' -f3)
prevmicro=$(echo "$1" | cut -d'_' -f4)
major=$(echo "$2" | cut -d'_' -f2)
minor=$(echo "$2" | cut -d'_' -f3)
micro=$(echo "$2" | cut -d'_' -f4)
get_latest_from_meson()
{