aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-04-26 23:01:26 -0500
committerBrent Cook <bcook@openbsd.org>2015-04-26 23:19:58 -0500
commitb0565945e45ce802d1685422903f1b56062d1056 (patch)
treed2d69cf30c4504c48f0720d57ce1a37496342261 /update.sh
parent7dbc4ed3637b98e05c077ea29574979ede72fa4c (diff)
downloadportable-b0565945e45ce802d1685422903f1b56062d1056.tar.gz
portable-b0565945e45ce802d1685422903f1b56062d1056.tar.bz2
portable-b0565945e45ce802d1685422903f1b56062d1056.zip
use soft links for related man pages.
This matches the behavior of OpenSSL's installer and prevents hitting the max hard link limit on some file systems.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 9828093..7863b18 100755
--- a/update.sh
+++ b/update.sh
@@ -263,8 +263,7 @@ echo "copying manpages"
263 for i in `cat ./links`; do 263 for i in `cat ./links`; do
264 IFS=","; set $i; unset IFS 264 IFS=","; set $i; unset IFS
265 if [ "$2" != "" ]; then 265 if [ "$2" != "" ]; then
266 echo " ln -f \$(DESTDIR)\$(mandir)/man3/$1 \\" >> Makefile.am 266 echo " ln -sf $1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
267 echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
268 fi 267 fi
269 done 268 done
270 echo "" >> Makefile.am 269 echo "" >> Makefile.am