1
0
Fork 0
forked from suyu/suyu

Merge pull request #928 from JSFernandes/master

Fix permissions in pre-commit hook.
This commit is contained in:
Tony Wasserka 2015-07-14 14:19:29 +02:00
commit 7673cdfdae
2 changed files with 1 additions and 2 deletions

View file

@ -7,8 +7,7 @@ project(citra)
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks/pre-commit)
message(STATUS "Copying pre-commit hook")
file(COPY hooks/pre-commit
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks
FILE_PERMISSIONS WORLD_EXECUTE )
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks)
endif()
if (NOT MSVC)

0
hooks/pre-commit Normal file → Executable file
View file