Fix permissions in pre-commit hook

master
JSFernandes 2015-07-14 00:58:18 +07:00
parent ecdfd0643a
commit 256eb24777
2 changed files with 1 additions and 2 deletions

@ -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)