pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Make maching pattern of REPLACE_RUBY_DIRS sa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c7659d13235
branches: trunk
changeset: 595603:9c7659d13235
user: taca <taca%pkgsrc.org@localhost>
date: Tue Nov 22 15:29:10 2011 +0000
description:
Make maching pattern of REPLACE_RUBY_DIRS same as REPLACE_RUBY.
diffstat:
lang/ruby/replace.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fdd3a3759143 -r 9c7659d13235 lang/ruby/replace.mk
--- a/lang/ruby/replace.mk Tue Nov 22 15:10:15 2011 +0000
+++ b/lang/ruby/replace.mk Tue Nov 22 15:29:10 2011 +0000
@@ -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 @@
-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 \
Home |
Main Index |
Thread Index |
Old Index