summaryrefslogtreecommitdiff
path: root/mk/configure
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-27 14:51:54 +0000
committerrillig <rillig@pkgsrc.org>2006-07-27 14:51:54 +0000
commitbe75f6ee5658c145bec19d5cc6b6faa6acd07dfe (patch)
treed2b5564fc2923929d0cf9dc3dc9d61eba458edc3 /mk/configure
parent035c2e4ece94937814274dad29480dc15e25ec1a (diff)
downloadpkgsrc-be75f6ee5658c145bec19d5cc6b6faa6acd07dfe.tar.gz
The intention behind REPLACE_BASH was to make replacing /bin/sh with
${BASH} easy, so the pattern that is replaced is now .*sh instead .*bash.
Diffstat (limited to 'mk/configure')
-rw-r--r--mk/configure/replace-interpreter.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/configure/replace-interpreter.mk b/mk/configure/replace-interpreter.mk
index 7b277018d9b..7b52996c952 100644
--- a/mk/configure/replace-interpreter.mk
+++ b/mk/configure/replace-interpreter.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace-interpreter.mk,v 1.3 2006/07/20 13:54:44 jlam Exp $
+# $NetBSD: replace-interpreter.mk,v 1.4 2006/07/27 14:51:54 rillig Exp $
# This file provides common templates for replacing #! interpreters
# in script files.
@@ -52,7 +52,7 @@ REPLACE_FILES.sys-AWK= ${REPLACE_AWK}
.if !empty(REPLACE_BASH:M*)
REPLACE_INTERPRETER+= sys-bash
-REPLACE.sys-bash.old= .*bash
+REPLACE.sys-bash.old= .*sh
REPLACE.sys-bash.new= ${BASH}
REPLACE_FILES.sys-bash= ${REPLACE_BASH}
.endif