summaryrefslogtreecommitdiffstats
path: root/win/rmd.bat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-25 09:35:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-25 09:35:03 (GMT)
commit05ac0f2232ca66e87c18bf4a43cce9d0cfaa7596 (patch)
treeec9c17a36b01ac33cdfa62c7120da1b152b55777 /win/rmd.bat
parentdb72cf3cd352c43ddcb5abcb300f60aea2df558f (diff)
parent69cded06b737884b3c2f111d3a3a40db146bcef1 (diff)
downloadtk-05ac0f2232ca66e87c18bf4a43cce9d0cfaa7596.zip
tk-05ac0f2232ca66e87c18bf4a43cce9d0cfaa7596.tar.gz
tk-05ac0f2232ca66e87c18bf4a43cce9d0cfaa7596.tar.bz2
Fix bug in "make dist" when system-encoding is UTF-8: eolFix will then translate some windows-specific files to UTF-8 too.
Solution: commit those files with CRLF line-ending, which eliminates the need for eolFix altgether. See als: [495120] for the reason why eolFix was introduced in the first place. No longer needed with fossil.
Diffstat (limited to 'win/rmd.bat')
-rw-r--r--win/rmd.bat40
1 files changed, 20 insertions, 20 deletions
diff --git a/win/rmd.bat b/win/rmd.bat
index d260936..820b76f 100644
--- a/win/rmd.bat
+++ b/win/rmd.bat
@@ -1,20 +1,20 @@
-@echo off
-
-if not exist %1\nul goto end
-
-echo Removing directory %1
-
-if "%OS%" == "Windows_NT" goto winnt
-
-deltree /y %1
-if errorlevel 1 goto end
-goto success
-
-:winnt
-rmdir /s /q %1
-if errorlevel 1 goto end
-
-:success
-echo Deleted directory %1
-
-:end
+@echo off
+
+if not exist %1\nul goto end
+
+echo Removing directory %1
+
+if "%OS%" == "Windows_NT" goto winnt
+
+deltree /y %1
+if errorlevel 1 goto end
+goto success
+
+:winnt
+rmdir /s /q %1
+if errorlevel 1 goto end
+
+:success
+echo Deleted directory %1
+
+:end