From 3a7689da54ac8436f7cc10d351cfb1a009bfd019 Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 1 May 2007 23:03:29 +0000 Subject: Make the shebang line regex less restrictive, so that it matches "ruby" followed by a version number. --- lang/ruby/replace.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/ruby/replace.mk b/lang/ruby/replace.mk index 500b277bd5c..118aeefea33 100644 --- a/lang/ruby/replace.mk +++ b/lang/ruby/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.6 2006/07/20 13:54:44 jlam Exp $ +# $NetBSD: replace.mk,v 1.7 2007/05/01 23:03:29 minskim Exp $ # .if !defined(_RUBY_REPLACE_MK) @@ -15,7 +15,7 @@ REPLACE_FILE_PAT?= *.rb .if defined(REPLACE_RUBY) REPLACE_INTERPRETER+= ${RUBY_NAME} -REPLACE.${RUBY_NAME}.old= .*ruby +REPLACE.${RUBY_NAME}.old= .*ruby[0-9]* REPLACE.${RUBY_NAME}.new= ${RUBY} REPLACE_FILES.${RUBY_NAME}= ${REPLACE_RUBY} -- cgit v1.2.3