summaryrefslogtreecommitdiff
path: root/win32/rm.bat
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-10 08:44:19 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-10 08:44:19 (GMT)
commitb7b183f682672de2e4e468e84fa865e7c1520ef8 (patch)
tree80e2fa8143bb2c1cc49b85601d7f265d24a17377 /win32/rm.bat
parent8307cb90a0d20976707a25203ff3c249c9c86411 (diff)
win32/rm.bat: fix infinite loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/rm.bat')
-rwxr-xr-xwin32/rm.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/rm.bat b/win32/rm.bat
index 5b4f632..65615a0 100755
--- a/win32/rm.bat
+++ b/win32/rm.bat
@@ -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