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)
commit2b786624cdf7e14d43d2f2e85083bbdeee82c356 (patch)
treea712a1d0ed4fdaf363c769fe7822df702532704f /win/rmd.bat
parent5a99689c346902f2878e596d141f9d70a44d3d29 (diff)
downloadtk-2b786624cdf7e14d43d2f2e85083bbdeee82c356.zip
tk-2b786624cdf7e14d43d2f2e85083bbdeee82c356.tar.gz
tk-2b786624cdf7e14d43d2f2e85083bbdeee82c356.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