aboutsummaryrefslogtreecommitdiffstats
path: root/tool/get-config_files
blob: a849c2b1e384833fe418b596d814908bd0beba4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ruby
require File.expand_path('../downloader', __FILE__)
ARGV.each {|n|
  STDOUT.print "Downloading #{n}..."; STDOUT.flush
  begin
    Downloader.download(n)
    STDOUT.puts
  rescue => e
    STDOUT.puts
    abort("#{$0}: #{e.message}")
  end
}