summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
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 21f4e75ab5e..84fd1277dca 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.244 1999/04/04 12:56:05 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.245 1999/04/05 02:25:59 hubertf Exp $
#
# This file is in the public domain.
#
@@ -1371,7 +1371,7 @@ root-install:
;; \
"a.out") \
${ECHO_MSG} "===> [Automatic ${SHLIB_TYPE} shared object handling]";\
- if ${GREP} -c '^@exec ${LDCONFIG}$$' ${PLIST}; then \
+ if ${GREP} -q '^@exec ${LDCONFIG}$$' ${PLIST}; then \
${ECHO} "@exec ${LDCONFIG}" >> ${PLIST}; \
${ECHO} "@unexec ${LDCONFIG}" >> ${PLIST}; \
fi; \