avoid install failures on case-insensitive file systems

This commit is contained in:
Brent Cook 2015-03-31 08:36:21 -05:00
parent 273bd7bd61
commit 20101fd6b3
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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