diff options
author | snj <snj@pkgsrc.org> | 2004-08-25 17:20:56 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-08-25 17:20:56 +0000 |
commit | a6c2429cb72216356cb458e16c2df50d929a7dcd (patch) | |
tree | 41dc8c9a3cd404ffff0b170ca4e3b04532aefaee /sysutils | |
parent | 8d40389f5cd443d3fcc8e161b723811cdae236b9 (diff) | |
download | pkgsrc-a6c2429cb72216356cb458e16c2df50d929a7dcd.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/Makefile | 4 |
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; \ |