summaryrefslogtreecommitdiffstats
path: root/win/rmd.bat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-25 09:29:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-25 09:29:27 (GMT)
commit69cded06b737884b3c2f111d3a3a40db146bcef1 (patch)
treea712a1d0ed4fdaf363c769fe7822df702532704f /win/rmd.bat
parent4d1a9f685c22275463128aabb1142f5c97bee2e5 (diff)
downloadtk-69cded06b737884b3c2f111d3a3a40db146bcef1.zip
tk-69cded06b737884b3c2f111d3a3a40db146bcef1.tar.gz
tk-69cded06b737884b3c2f111d3a3a40db146bcef1.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