summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-24 19:03:08 +0000
committeragc <agc@pkgsrc.org>1999-08-24 19:03:08 +0000
commit59aba06c9cf3d461f2c18053a57bc7f499a454dd (patch)
tree586159fe580547bd0d994196e7bb87d6e839e390 /mk
parent64aee4a26b3d11c14810afe6c1cf4818578c96ea (diff)
downloadpkgsrc-59aba06c9cf3d461f2c18053a57bc7f499a454dd.tar.gz
Use -h instead of -L in test(1) when testing for a symbolic link.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 8b49d263ae0..733f0e0255b 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.322 1999/08/22 21:42:22 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.323 1999/08/24 19:03:08 agc Exp $
#
# This file is in the public domain.
#
@@ -1274,7 +1274,7 @@ root-install:
${ECHO_MSG} "===> Decompressing manual pages for ${PKGNAME}"; \
for manpage in $$newmanpages; do \
manpage=`${ECHO} $$manpage | ${SED} -e 's|\.gz$$||'`; \
- if [ -L ${PREFIX}/$$manpage.gz ]; then \
+ if [ -h ${PREFIX}/$$manpage.gz ]; then \
set - `${FILE} ${PREFIX}/$$manpage.gz | ${SED} -e 's|\.gz$$||'`; \
shift `expr $$# - 1`; \
${RM} -f ${PREFIX}/$$manpage; \
@@ -1293,7 +1293,7 @@ root-install:
${ECHO_MSG} "===> Compressing manual pages for ${PKGNAME}"; \
for manpage in $$newmanpages; do \
manpage=`${ECHO} $$manpage | ${SED} -e 's|\.gz$$||'`; \
- if [ -L ${PREFIX}/$$manpage ]; then \
+ if [ -h ${PREFIX}/$$manpage ]; then \
set - `${FILE} ${PREFIX}/$$manpage`; \
shift `expr $$# - 1`; \
${RM} -f ${PREFIX}/$$manpage.gz; \