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 Mar 5, 2023
1 parent 697a797 commit e2d8826
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 e2d8826

Please sign in to comment.