Description:
Changed shebang from `/usr/bin/ruby` to `/usr/bin/env ruby`
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r204:6f1fd9fdb8ac - - 7 files changed: 7 inserted, 7 deleted
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | # new_problem: |
|
3 | # new_problem: |
|
4 | # * creates a directory for a problem in the current directory, |
|
4 | # * creates a directory for a problem in the current directory, |
|
5 | # * create standard testcase config file |
|
5 | # * create standard testcase config file |
|
6 |
|
6 | ||
|
7 | require 'erb' |
|
7 | require 'erb' |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | # |
|
3 | # |
|
4 | # This is a check script wrapper. It read all required information |
|
4 | # This is a check script wrapper. It read all required information |
|
5 | # and call a real check script call REAL_CHECK_SCRIPT in directory |
|
5 | # and call a real check script call REAL_CHECK_SCRIPT in directory |
|
6 | # [problem_home]/script |
|
6 | # [problem_home]/script |
|
7 | # |
|
7 | # |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
5 |
|
5 | ||
|
6 | if ARGV.length < 2 |
|
6 | if ARGV.length < 2 |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
5 |
|
5 | ||
|
6 | if ARGV.length < 2 |
|
6 | if ARGV.length < 2 |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
5 |
|
5 | ||
|
6 | if ARGV.length < 2 |
|
6 | if ARGV.length < 2 |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
5 |
|
5 | ||
|
6 | if ARGV.length < 2 |
|
6 | if ARGV.length < 2 |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
@@ -1,7 +1,7 | |||||
|
1 | - #!/usr/bin/ruby |
|
1 | + #!/usr/bin/env ruby |
|
2 |
|
2 | ||
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
3 | problem_home = ENV['PROBLEM_HOME'] |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
4 | require "#{problem_home}/script/test_dsl.rb" |
|
5 |
|
5 | ||
|
6 | if ARGV.length < 2 |
|
6 | if ARGV.length < 2 |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
|
7 | puts "Usage: check <language> <test-number> [<output-file>]" |
You need to be logged in to leave comments.
Login now