From 6d8c1483d604296a8181431f9a000112356ea163 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 12 Aug 2008 06:19:00 +0000 Subject: [PATCH] * enc/depend: (transvpath_prefix): prefix has no extension, so replace %s with "". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ enc/depend | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4fdf455df9..3088735dc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 12 15:17:06 2008 NAKAMURA Usaku + + * enc/depend: (transvpath_prefix): prefix has no extension, so replace + %s with "". + Tue Aug 12 15:03:43 2008 TAKAO Kouji * test/readline/test_readline.rb (TestReadline#test_safe_level_4): diff --git a/enc/depend b/enc/depend index 35cf6939b3..fd4423ebc3 100644 --- a/enc/depend +++ b/enc/depend @@ -28,7 +28,7 @@ % cleanobjs = Shellwords.shellwords(CONFIG["cleanobjs"] || "") % rule_subst = CONFIG["RULE_SUBST"] || "%s" % transvpath = rule_subst.dup.sub!(/\{[^{}]+\}/, '$(TRANSVPATH)/') || "enc/trans/%s" -% transvpath_prefix = rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "" +% transvpath_prefix = (rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "") % "" % if File::ALT_SEPARATOR % pathrep = proc {|path| path.gsub('/', File::ALT_SEPARATOR).gsub(/\$\(([@