mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32/rm.bat: fix infinite loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8307cb90a0
commit
b7b183f682
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
@echo off
|
||||
:optloop
|
||||
if "%1" == "-f" shift
|
||||
if "%1" == "-r" (set recursive=1 & goto :optloop)
|
||||
if "%1" == "-r" (shift & set recursive=1 & goto :optloop)
|
||||
if "%recursive%" == "1" goto :recursive
|
||||
:begin
|
||||
if "%1" == "" goto :end
|
||||
|
|
Loading…
Reference in a new issue