mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-30 20:15:35 +00:00
Merge pull request #928 from JSFernandes/master
Fix permissions in pre-commit hook.
This commit is contained in:
commit
7673cdfdae
|
@ -7,8 +7,7 @@ project(citra)
|
||||||
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks/pre-commit)
|
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks/pre-commit)
|
||||||
message(STATUS "Copying pre-commit hook")
|
message(STATUS "Copying pre-commit hook")
|
||||||
file(COPY hooks/pre-commit
|
file(COPY hooks/pre-commit
|
||||||
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks
|
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks)
|
||||||
FILE_PERMISSIONS WORLD_EXECUTE )
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
|
0
hooks/pre-commit
Normal file → Executable file
0
hooks/pre-commit
Normal file → Executable file
Loading…
Reference in a new issue