pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Solaris' file(1) reports "executable [path] script"...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0e5f35b478f4
branches: trunk
changeset: 470215:0e5f35b478f4
user: grant <grant%pkgsrc.org@localhost>
date: Sun Mar 07 09:29:25 2004 +0000
description:
Solaris' file(1) reports "executable [path] script" on scripts which
arent't shell scripts, so allow them to be subst'd.
diffstat:
mk/subst.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0bd899f38e8d -r 0e5f35b478f4 mk/subst.mk
--- a/mk/subst.mk Sun Mar 07 09:29:04 2004 +0000
+++ b/mk/subst.mk Sun Mar 07 09:29:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.10 2004/03/01 09:57:10 uebayasi Exp $
+# $NetBSD: subst.mk,v 1.11 2004/03/07 09:29:25 grant Exp $
#
# This Makefile fragment implements a general text replacement facility.
# Package makefiles define a ``class'', for each of which a paricular
@@ -32,7 +32,7 @@
# _SUBST_IS_TEXT_FILE returns 0 if $${file} is a text file.
_SUBST_IS_TEXT_FILE?= \
- ${FILE_CMD} $${file} | ${EGREP} "(shell script|text)" >/dev/null 2>&1
+ ${FILE_CMD} $${file} | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1
.for _class_ in ${SUBST_CLASSES}
_SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done
Home |
Main Index |
Thread Index |
Old Index