diff options
author | minskim <minskim@pkgsrc.org> | 2007-05-01 23:03:29 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-05-01 23:03:29 +0000 |
commit | 3a7689da54ac8436f7cc10d351cfb1a009bfd019 (patch) | |
tree | a2e0690bdc75715f12ecc0f6fb7804703147a123 | |
parent | ad8b0d24106af0cb74aa93dc6047b5562bb30588 (diff) | |
download | pkgsrc-3a7689da54ac8436f7cc10d351cfb1a009bfd019.tar.gz |
Make the shebang line regex less restrictive, so that it matches
"ruby" followed by a version number.
-rw-r--r-- | lang/ruby/replace.mk | 4 |
1 files 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} |