diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 19:41:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 19:41:38 +0000 |
commit | 1d4ec583c7a0b83c153cab34a2b6865db7ea0619 (patch) | |
tree | 00d3594941a65ac991949e04e96c3da1be4a7f6e /lib | |
parent | 27f414916e2f65291d162a3c02407c595dd86400 (diff) | |
download | ruby-1d4ec583c7a0b83c153cab34a2b6865db7ea0619.tar.gz |
mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 62b3c5f3f6..84d736dac0 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1859,7 +1859,7 @@ preload = #{defined?($preload) && $preload ? $preload.join(' ') : ''} end def timestamp_file(name) - name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "@" : $2 ? "%" : "_"} + name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "@" : $2 ? "!" : "_"} "./.#{name}.time" end # :startdoc: |