This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] cygwin: doc: Fix doc install path in postinstall script


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0220e40e8f704e976e17d55ddfcebff15a72658b

commit 0220e40e8f704e976e17d55ddfcebff15a72658b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Jun 23 20:24:49 2017 +0200

    cygwin: doc: Fix doc install path in postinstall script
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/doc/etc.postinstall.cygwin-doc.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/winsup/doc/etc.postinstall.cygwin-doc.sh b/winsup/doc/etc.postinstall.cygwin-doc.sh
index dbb6412..124a5dd 100755
--- a/winsup/doc/etc.postinstall.cygwin-doc.sh
+++ b/winsup/doc/etc.postinstall.cygwin-doc.sh
@@ -26,9 +26,7 @@ do
 	fi
 done
 
-cygver=$($un -r)	# release - numeric version (build info)
-cygver=${cygver%\(*\)}	# strip build info
-doc=/usr/share/doc/cygwin-$cygver
+doc=/usr/share/doc/cygwin-doc
 html=$doc/html
 smpc_dir="$($cygp $CYGWINFORALL -P -U)/Cygwin"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]