diff options
author | tron <tron> | 1999-04-14 19:44:24 +0000 |
---|---|---|
committer | tron <tron> | 1999-04-14 19:44:24 +0000 |
commit | 9192977dd05676afee1224b8cbfceddd9b85ac44 (patch) | |
tree | e79c7163f42cce1cd9ccbdcdf8f7a032228a7a06 /mk | |
parent | 1c673254d178c2ed1ae1f1a8acc92dfeed32adaf (diff) | |
download | pkgsrc-9192977dd05676afee1224b8cbfceddd9b85ac44.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.mk | 4 |
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}; \ |