summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-14 19:44:24 +0000
committertron <tron@pkgsrc.org>1999-04-14 19:44:24 +0000
commit0a35523e9488cdf25d1a0b1a5d71e131f03639f1 (patch)
treee79c7163f42cce1cd9ccbdcdf8f7a032228a7a06 /mk
parent286099986eae8fee64848a798d8bfb33bfb12071 (diff)
downloadpkgsrc-0a35523e9488cdf25d1a0b1a5d71e131f03639f1.tar.gz
Add missing "|| ${TRUE}" to "${EGREP}" statement to avoid install failures
if no shared objects are found on a.out systems.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 7bfdac26ec0..cd09df44e8b 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.252 1999/04/13 14:18:11 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.253 1999/04/14 19:44:24 tron Exp $
#
# This file is in the public domain.
#
@@ -1365,7 +1365,7 @@ root-install:
;; \
"a.out") \
${ECHO_MSG} "===> [Automatic $$shlib_type shared object handling]";\
- cnt=`${EGREP} -c -x '@exec[ ]*${LDCONFIG}' ${PLIST}`; \
+ cnt=`${EGREP} -c -x '@exec[ ]*${LDCONFIG}' ${PLIST} || ${TRUE}`; \
if [ $$cnt -eq 0 ]; then \
${ECHO} "@exec ${LDCONFIG}" >> ${PLIST}; \
${ECHO} "@unexec ${LDCONFIG}" >> ${PLIST}; \