mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 14:22:06 +02:00
fix setting of abbreviated SHA for master builds
This commit is contained in:
parent
33a122c08e
commit
b9e9c952de
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ macro(SET_PACKAGING_PARAMETERS)
|
|||
separate_arguments(_COMMIT_PARENTS UNIX_COMMAND ${_GIT_LOG_OUTPUT})
|
||||
list(GET _COMMIT_PARENTS 1 GIT_COMMIT_HASH)
|
||||
else ()
|
||||
set(GIT_COMMIT_HASH _GIT_LOG_OUTPUT)
|
||||
set(GIT_COMMIT_HASH ${_GIT_LOG_OUTPUT})
|
||||
endif ()
|
||||
|
||||
if (_GIT_LOG_ERROR OR NOT GIT_COMMIT_HASH)
|
||||
|
|
Loading…
Reference in a new issue