abuild: use $git in rootbld symbolic-ref

missed git call, compared to the others
This commit is contained in:
psykose 2023-04-18 17:42:30 +00:00 committed by Natanael Copa
parent 9a61082d8d
commit b5c25f1b62
1 changed files with 1 additions and 1 deletions

View File

@ -2501,7 +2501,7 @@ rootbld() {
fi
local version="edge" buildhost="edge" gitref
if gitref="$(expr "$(git symbolic-ref --short HEAD)" : '\([0-9]\+\(\.[0-9]\+\)*\)-')"; then
if gitref="$(expr "$($git symbolic-ref --short HEAD)" : '\([0-9]\+\(\.[0-9]\+\)*\)-')"; then
version=v${gitref}
buildhost=${gitref/./-}
fi