зеркало из https://github.com/github/ruby.git
mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like configure variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e627955d14
Коммит
5f06ee7ea0
|
@ -1,4 +1,7 @@
|
||||||
Fri Nov 2 20:02:22 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Nov 2 20:11:17 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
|
||||||
|
configure variables.
|
||||||
|
|
||||||
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
|
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
|
||||||
special character of NMAKE and BSD make. [Bug #7265]
|
special character of NMAKE and BSD make. [Bug #7265]
|
||||||
|
|
|
@ -1859,7 +1859,7 @@ preload = #{defined?($preload) && $preload ? $preload.join(' ') : ''}
|
||||||
end
|
end
|
||||||
|
|
||||||
def timestamp_file(name)
|
def timestamp_file(name)
|
||||||
name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "@" : $2 ? ".-." : "_"}
|
name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "" : $2 ? ".-." : "_"}
|
||||||
"./.#{name}.time"
|
"./.#{name}.time"
|
||||||
end
|
end
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче