Skip to content

Commit

Permalink
Fix git error in Packaging.cmake
Browse files Browse the repository at this point in the history
The git command was run in the wrong working directory.
  • Loading branch information
cbjeukendrup authored and igorkorsukov committed Aug 24, 2021
1 parent c49bf21 commit d27e9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/Packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if (MSCORE_UNSTABLE)
if (GIT_EXECUTABLE)
execute_process(
COMMAND "${GIT_EXECUTABLE}" log -1 --date=short --format=%cd
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
OUTPUT_VARIABLE git_date
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif (GIT_EXECUTABLE)
Expand Down

0 comments on commit d27e9b1

Please sign in to comment.