File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ WARNING = <<-EOS
9
9
EOS
10
10
11
11
JRUBYC_VERSION = '9.1.1.0'
12
- EXAMPLES = '1.8 '
12
+ EXAMPLES = '1.0 '
13
13
HOME_DIR = ENV [ 'HOME' ]
14
14
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig ::CONFIG [ 'host_os' ]
15
15
@@ -59,9 +59,9 @@ file_name = (MAC_OR_LINUX.nil?) ? "#{EXAMPLES}.zip" : "#{EXAMPLES}.tar.gz"
59
59
file file_name do
60
60
begin
61
61
if MAC_OR_LINUX . nil?
62
- sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{ EXAMPLES } .tar.gz"
63
- else
64
62
sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{ EXAMPLES } .zip"
63
+ else
64
+ sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{ EXAMPLES } .tar.gz"
65
65
end
66
66
rescue
67
67
warn ( WARNING )
@@ -78,4 +78,4 @@ task :copy_examples => file_name do
78
78
sh "rm -r #{ HOME_DIR } /k9_samples" if File . exist? "#{ HOME_DIR } /k9_samples"
79
79
sh "cp -r samples4ruby-processing3-#{ EXAMPLES } #{ HOME_DIR } /k9_samples"
80
80
sh "rm -r samples4ruby-processing3-#{ EXAMPLES } "
81
- end
81
+ end
You can’t perform that action at this time.
0 commit comments