summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-11-22 15:29:10 +0000
committertaca <taca@pkgsrc.org>2011-11-22 15:29:10 +0000
commit3d5e099cd151f4af74d389f41f50a7de3d8f88fe (patch)
tree84fea8657887b58bd007672c1e8bac27f37e7be5 /lang
parentee1fb1761d36bffa5b5e7ae0ffc87ae5cd474669 (diff)
downloadpkgsrc-3d5e099cd151f4af74d389f41f50a7de3d8f88fe.tar.gz
Make maching pattern of REPLACE_RUBY_DIRS same as REPLACE_RUBY.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/replace.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/replace.mk b/lang/ruby/replace.mk
index f1fae51c797..1f96c83af12 100644
--- a/lang/ruby/replace.mk
+++ b/lang/ruby/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.14 2010/09/10 03:13:59 taca Exp $
+# $NetBSD: replace.mk,v 1.15 2011/11/22 15:29:10 taca Exp $
#
.if !defined(_RUBY_REPLACE_MK)
@@ -54,7 +54,7 @@ replace-ruby-dirs:
-type f ${_REPLACE_RUBY_FIND_ARGS} -print | \
while read f; do \
${SED} -e '1s|^#! *[a-z0-9_/\.-][a-z0-9_/\.-]*/env *|#!|g' \
- -e '1s|^#! *[a-z0-9_/\.-]*ruby|#!${RUBY}|' $$f > $$f.tmp; \
+ -e '1s|^#! *[a-z0-9_/\.-]*ruby[0-9\.]*|#!${RUBY}|' $$f > $$f.tmp; \
if ${CMP} -s $$f $$f.tmp; then \
${RM} $$f.tmp; \
else \