summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorsnj <snj>2004-08-25 17:20:56 +0000
committersnj <snj>2004-08-25 17:20:56 +0000
commit34939dd4d25a2bb15d75fe23a7d7feea724cf61b (patch)
tree41dc8c9a3cd404ffff0b170ca4e3b04532aefaee /sysutils
parenta09032d0672f1cb436b4eb2d4af530c234ce6fa1 (diff)
downloadpkgsrc-34939dd4d25a2bb15d75fe23a7d7feea724cf61b.tar.gz
Sync file(1) test for shell script with the one in subst.mk. Makes it
correctly identify svscanboot(8) as a shell script on IRIX. Committed for schmonz.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/daemontools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index c2cafa2f047..4702d66dc74 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/07/26 19:16:27 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2004/08/25 17:20:56 snj Exp $
# FreeBSD Id: ports/sysutils/daemontools/Makefile,v 1.8 2000/12/03 05:16:41 steve Exp
DISTNAME= daemontools-0.76
@@ -49,7 +49,7 @@ post-build:
do-install:
(while read cmd; do \
- if ${FILE_CMD} ${CMDDIR}/$$cmd | ${GREP} -q "shell script"; then \
+ if ${FILE_CMD} ${CMDDIR}/$$cmd | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1; then \
${INSTALL_SCRIPT} ${CMDDIR}/$$cmd ${PREFIX}/bin; \
else \
${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${PREFIX}/bin; \