print standalone version
This commit is contained in:
parent
3b32e9f14f
commit
dc1884a7c5
9
builder
9
builder
@ -227,7 +227,14 @@ EOF
|
|||||||
|
|
||||||
function version ()
|
function version ()
|
||||||
{
|
{
|
||||||
msg "${BLD}$ScriptName $(git describe 2> /dev/null)${DEF}"
|
local Version=""
|
||||||
|
|
||||||
|
Version="$(git describe 2> /dev/null)"
|
||||||
|
if [[ -z "$Version" ]]; then
|
||||||
|
Version="(standalone)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg "${BLD}$ScriptName $Version${DEF}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanup()
|
function cleanup()
|
||||||
|
Loading…
Reference in New Issue
Block a user