From af1baae4b90df373b3754dfeba75eb79be6a9027 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 6 Jan 2002 02:36:40 +0000 Subject: Fix file recognition for "unbuildlink-buildlink-subst" so it recognize shell scripts under Solaris. --- mk/bsd.buildlink.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bsd.buildlink.mk') diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index f27982c5740..69db7304e08 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink.mk,v 1.53 2002/01/03 20:00:06 jlam Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.54 2002/01/06 02:36:40 tron Exp $ # # This Makefile fragment is included by package buildlink.mk files. This # file does the following things: @@ -211,7 +211,7 @@ _BUILDLINK_CONFIG_WRAPPER_USE: .USE ${ECHO} ${BUILDLINK_CONFIG.${.TARGET:S/-buildlink-config-wrapper//}} >> $${cookie}; \ fi -_CHECK_IS_TEXT_FILE= ${FILE_CMD} $${file} | ${GREP} "text" >/dev/null 2>&1 +_CHECK_IS_TEXT_FILE= ${FILE_CMD} $${file} | ${EGREP} "(shell script|text)" >/dev/null 2>&1 # _BUILDLINK_SUBST_USE is a make macro that executes code to do general text # replacement in files. The following variables are used: -- cgit v1.2.3