Skip to content

Commit

Permalink
changed: more robust splitting mechanism for the arch array in the de…
Browse files Browse the repository at this point in the history
…b generation file.
  • Loading branch information
Abathargh committed May 3, 2023
1 parent 4149008 commit bedd211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

version=$(git describe --tags)
vers_nov=${version#*v}
splitted=(${vers_nov//./ })

readarray -d "." -t splitted < <(printf "%s" "$vers_nov")
vers_majmin="${splitted[0]}"."${splitted[1]}"
vers_minor="${splitted[2]}"

Expand Down

0 comments on commit bedd211

Please sign in to comment.