build: Unbreak version.sh

This commit is contained in:
mintsuki 2022-06-25 10:47:07 +02:00
parent a2ac499c05
commit b8a3534a41
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
LC_ALL=C
export LC_ALL
git describe --exact-match --tags $(git log -n1 --pretty='%h') 2>/dev/null || git log -n1 --pretty='%h' | sed 's/^v//g' | xargs printf '%s'
( git describe --exact-match --tags $(git log -n1 --pretty='%h') 2>/dev/null || git log -n1 --pretty='%h' ) | sed 's/^v//g' | xargs printf '%s'