ruby-changes:26712
From: nobu <ko1@a...>
Date: Thu, 10 Jan 2013 17:44:30 +0900 (JST)
Subject: [ruby-changes:26712] nobu:r38763 (trunk): win32/rm.bat: fix infinite loop
nobu 2013-01-10 17:44:19 +0900 (Thu, 10 Jan 2013) New Revision: 38763 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38763 Log: win32/rm.bat: fix infinite loop Modified files: trunk/win32/rm.bat Index: win32/rm.bat =================================================================== --- win32/rm.bat (revision 38762) +++ win32/rm.bat (revision 38763) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/win32/rm.bat#L1 @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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/