1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-06-10 19:22:20 +00:00

Make sure the git command is run from the source dir

This commit is contained in:
Brenden Matthews 2024-05-01 14:50:38 -04:00
parent e8fd689b92
commit 8aa7116e5f

View File

@ -177,6 +177,7 @@ execute_process(COMMAND ${APP_UNAME} -sm
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${APP_GIT} rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
RESULT_VARIABLE RETVAL
OUTPUT_VARIABLE GIT_SHORT_SHA
OUTPUT_STRIP_TRAILING_WHITESPACE)