New review comment by klarasm on void-packages repository https://github.com/void-linux/void-packages/pull/44311#discussion_r1273272421 Comment: Naming it major version was probably a bad choice on my part. Upstream names the directory to A.B. Previously `${version%.*}` was used (the non-greedy variant) which works if version is A.B.C but not A.B. The greedy variant will always return A. I'm aware my suggestion is a bit ugly but did not find a way to do it with bash substitution. Would it be better to do something like ``` _majorver=1.21 version="${_majorver}.1" ```