aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/options.rb')
-rw-r--r--lib/sisu/v0/options.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/sisu/v0/options.rb b/lib/sisu/v0/options.rb
index 4c8afb58..273d4d4a 100644
--- a/lib/sisu/v0/options.rb
+++ b/lib/sisu/v0/options.rb
@@ -94,14 +94,7 @@ module SiSU_commandline
end
s << " #{y}" unless y.empty?
end
-if RUBY_VERSION > '1.9'
-#debug strip
-p 'problem with ruby 1.9.0 (2007-09-10 patchlevel 0) [i486-linux] on Debian Sid'
-p 'p content.class == String == String == ' + s.class.to_s
-p 'p s == -mv gpl.fsf.sst == -mv gpl.fsf.sst == ' + s
-p 'p s.strip == -mv gpl.fsf.sst #expected == -mv #i get == ' + s.strip + ' #actual, you get'
-end
- s.strip! # String.strip is broken in ruby 1.9.0 (2007-09-10 patchlevel 0) [i486-linux], 2007-09-18:38/2
+ s.strip!
a=s.split(/\s+/)
a.each do |x|
if x =~/^-[a-z0-5]+/i \