mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update config files
* .travis.yml (before_script): update config files. * common.mk ($(srcdir)/tool/config.{guess,sub}): use get-config_files. * tool/config_files.rb: split get-config_files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bbe047d4c7
commit
a53cb1a05d
5 changed files with 14 additions and 9 deletions
5
tool/config_files.rb
Executable file → Normal file
5
tool/config_files.rb
Executable file → Normal file
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/ruby
|
||||
require 'open-uri'
|
||||
|
||||
ConfigFiles = "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=%s;hb=HEAD"
|
||||
|
@ -7,7 +6,3 @@ def ConfigFiles.download(name, dir = nil)
|
|||
file = dir ? File.join(dir, name) : name
|
||||
open(file, "wb", 0755) {|f| f.write(data)}
|
||||
end
|
||||
|
||||
if $0 == __FILE__
|
||||
ARGV.each {|n| ConfigFiles.download(n)}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue