1
0
Fork 0
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:
nobu 2013-01-10 08:44:19 +00:00
parent 8307cb90a0
commit b7b183f682

View file

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