Skip to content

Commit

Permalink
* win32/Makefile.sub: suppress a strange error message when RMALL
Browse files Browse the repository at this point in the history
	  found no such file.
	* win32/rmall.bat: new.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
kosaki committed Dec 26, 2010
1 parent 43b4bae commit 205cc6c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Sun Dec 26 23:49:47 2010 KOSAKI Motohiro <[email protected]>

* win32/Makefile.sub: suppress a strange error message when RMALL
found no such file.
* win32/rmall.bat: new.

Sun Dec 26 21:23:23 2010 <[email protected]>

* win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.
Expand Down
2 changes: 1 addition & 1 deletion win32/Makefile.sub
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ IFCHANGE = $(COMSPEC) /C $(srcdir:/=\)\win32\ifchange.bat
RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
RMDIR = $(COMSPEC) /C $(srcdir:/=\)\win32\rmdirs.bat
RMDIRS = $(COMSPEC) /C $(srcdir:/=\)\win32\rmdirs.bat
RMALL = $(COMSPEC) /C rmdir /s /q
RMALL = $(COMSPEC) /C $(srcdir:/=\)\win32\rmall.bat
CP = copy > nul
MV = move > nul
!if !defined(BASERUBY)
Expand Down
6 changes: 6 additions & 0 deletions win32/rmall.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off

if "%1" == "" goto :end
if exist "%1" rmdir /s /q "%1"

:end

0 comments on commit 205cc6c

Please sign in to comment.