From 20101fd6b33d712e45f74c5297f79ea4225c183c Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 31 Mar 2015 08:36:21 -0500 Subject: avoid install failures on case-insensitive file systems --- man/links | 1 - man/update_links.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/links b/man/links index 5dc3849..938d469 100644 --- a/man/links +++ b/man/links @@ -1100,7 +1100,6 @@ lhash.3,lh_free.3 lhash.3,lh_insert.3 lhash.3,lh_new.3 lhash.3,lh_retrieve.3 -ssl.3,SSL.3 tls_init.3,tls.3 tls_init.3,tls_accept_socket.3 tls_init.3,tls_client.3 diff --git a/man/update_links.sh b/man/update_links.sh index fe75640..0c83041 100755 --- a/man/update_links.sh +++ b/man/update_links.sh @@ -9,7 +9,9 @@ for i in `ls -1 *.3`; do links=`sqlite3 /usr/share/man/mandoc.db \ "select names.name from mlinks,names where mlinks.name='$name' and mlinks.pageid=names.pageid;"` for j in $links; do - if [ "x$j" != "x$name" ]; then + a=`echo "x$j" | tr '[:upper:]' '[:lower:]'` + b=`echo "x$name" | tr '[:upper:]' '[:lower:]'` + if [ $a != $b ]; then echo $name.3,$j.3 >> links fi done -- cgit v1.2.3-55-g6feb