oops
This commit is contained in:
parent
1528c95fe9
commit
70dffdc3e1
|
@ -59,7 +59,7 @@ if(GIT_FOUND AND NOT DOLPHIN_WC_REVISION)
|
|||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
# remove hash from description
|
||||
STRING(REGEX REPLACE "-[^-]+(-dirty)?$" "\\1" DOLPHIN_WC_DESCRIBE "${DOLPHIN_WC_DESCRIBE}")
|
||||
STRING(REGEX REPLACE "-[^-]+((-dirty)?)$" "\\1" DOLPHIN_WC_DESCRIBE "${DOLPHIN_WC_DESCRIBE}")
|
||||
|
||||
# defines DOLPHIN_WC_BRANCH
|
||||
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
|
||||
|
|
Loading…
Reference in New Issue