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.

Backport of musescore#8919
  • Loading branch information
cbjeukendrup authored and Jojo-Schmitz committed Sep 26, 2021
1 parent 0badcd3 commit 3832cbe
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 3832cbe

Please sign in to comment.