mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	patch 9.1.0623: Mingw: errors when trying to delete non-existing files
Problem:  Mingw: warnings when trying to delete non-existing files
Solution: Use "rm -f" instead of "rm" to suppress errors for
          non-existing files (Ken Takata)
closes: #15350
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
			
			
This commit is contained in:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							032accd98b
						
					
				
				
					commit
					325420ebe4
				
			| @@ -29,7 +29,7 @@ LDFLAGS += -static-libgcc -static-libstdc++ | ||||
| endif | ||||
|  | ||||
| ifeq ($(CROSS),yes) | ||||
| DEL = rm | ||||
| DEL = rm -f | ||||
| ifeq ($(MINGWOLD),yes) | ||||
| CXXFLAGS := -O2 -fvtable-thunks | ||||
| else | ||||
| @@ -38,7 +38,7 @@ endif | ||||
| else | ||||
| CXXFLAGS := -O2 | ||||
| ifneq (sh.exe, $(SHELL)) | ||||
| DEL = rm | ||||
| DEL = rm -f | ||||
| else | ||||
| DEL = del | ||||
| endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user