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 2, 2021
1 parent 91e2032 commit 6f6b02f
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 6f6b02f

Please sign in to comment.