mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 3a28aaaa3a
			
		
	
	
		3a28aaaa3a
		
	
	
	
	
		
			
			git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable file
		
	
	
	
	
| @echo off
 | |
| :optloop
 | |
| if "%1" == "-f" shift
 | |
| if "%1" == "-r" (set recursive=1 & goto :optloop)
 | |
| if "%recursive%" == "1" goto :recursive
 | |
| :begin
 | |
| if "%1" == "" goto :end
 | |
| set p=%1
 | |
| if exist "%p:/=\%" del "%p:/=\%"
 | |
| shift
 | |
| goto :begin
 | |
| :recursive
 | |
| if "%1" == "" goto :end
 | |
| set p=%1
 | |
| if exist "%p:/=\%" rd /s /q "%p:/=\%"
 | |
| shift
 | |
| goto :recursive
 | |
| :end
 |