[前][次][番号順一覧][スレッド一覧]

ruby-changes:26731

From: nobu <ko1@a...>
Date: Fri, 11 Jan 2013 19:22:02 +0900 (JST)
Subject: [ruby-changes:26731] nobu:r38782 (trunk): win32/rm.bat: remove each files

nobu	2013-01-11 19:21:49 +0900 (Fri, 11 Jan 2013)

  New Revision: 38782

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38782

  Log:
    win32/rm.bat: remove each files
    
    * win32/rm.bat: removing by wildcard errs on network file system, so
      remove each files.

  Modified files:
    trunk/win32/rm.bat

Index: win32/rm.bat
===================================================================
--- win32/rm.bat	(revision 38781)
+++ win32/rm.bat	(revision 38782)
@@ -6,7 +6,7 @@ if "%recursive%" == "1" goto :recursive https://github.com/ruby/ruby/blob/trunk/win32/rm.bat#L6
 :begin
 if "%1" == "" goto :end
 set p=%1
-if exist "%p:/=\%" del "%p:/=\%"
+if exist "%p:/=\%" for %%I in ("%p:/=\%") do @del "%%I"
 shift
 goto :begin
 :recursive

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]