This commit is contained in:
Cpuroast 2018-03-07 00:55:24 +00:00 committed by GitHub
commit 74f1778807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if (NOT DEFINED BARRIER_REVISION)
string (SUBSTRING $ENV{GIT_COMMIT} 0 8 BARRIER_REVISION)
else()
execute_process (
COMMAND git rev-parse --short=8 HEAD
COMMAND git rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE BARRIER_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE