summarylogtreecommitdiffstats
path: root/002-fix-forbidden-colon-in-paths.mingw.patch
blob: 333e8b00a9519cdaf11f2eb3ba6faba29c83ea3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur tcl8.6.5-orig/unix/installManPage tcl8.6.5/unix/installManPage
--- tcl8.6.5-orig/unix/installManPage	2016-03-01 04:59:35.000000000 +0300
+++ tcl8.6.5/unix/installManPage	2016-03-03 08:47:43.725911500 +0300
@@ -103,7 +103,7 @@
     Target=$Target.$Section$Suffix
     rm -f $Dir/$Target $Dir/$Target.*
     if test -z "$First" ; then
-	First=$Target
+	First=$(echo $Target | sed -e 's/:/-/g')
 	sed -e "/man\.macros/r $SrcDir/man.macros" -e "/man\.macros/d" \
 	    $ManPage > $Dir/$First
 	chmod 444 $Dir/$First