mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	Fix permissions in pre-commit hook
This commit is contained in:
		
							parent
							
								
									ecdfd0643a
								
							
						
					
					
						commit
						256eb24777
					
				@ -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
									
								
							
							
						
						
									
										0
									
								
								hooks/pre-commit
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user