bin/picker in tournament-0.0.2 vs bin/picker in tournament-0.0.3
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
dir = File.dirname(File.expand_path(File.join(__FILE__, "..")))
-file = ARGV[1].nil? ? '' : File.join(Dir.pwd, ARGV[1])
+file = ARGV[0].nil? ? '' : File.join(Dir.pwd, ARGV[0])
Dir.chdir(dir)
system("./bin/gui.rb #{file}")