mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-05 06:09:41 +00:00
abuild: use $git in rootbld symbolic-ref
missed git call, compared to the others
This commit is contained in:
parent
9a61082d8d
commit
b5c25f1b62
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user