aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sisu10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/sisu b/bin/sisu
index 1ba2e947..04d8bd62 100755
--- a/bin/sisu
+++ b/bin/sisu
@@ -1,9 +1,13 @@
#!/usr/bin/env ruby
#SiSU: copyright (C) 1997..2008 Ralph Amissah; License GPL, see appended program information
-raise "Please, use Ruby1.8 (1.8.4 or later), current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4' or RUBY_VERSION > '1.9'
-#raise "Please, use Ruby1.8.4 or later, current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4'
+raise "Please, use Ruby1.8.4 or later, current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4'
$VERBOSE=nil
-$KCODE='u'
+if RUBY_VERSION < '1.9'
+ $KCODE='u'
+ TS1='¡'
+else
+ TS1='¡'.force_encoding('utf-8')
+end
branch='v0'
SiSU_lib="sisu/#{branch}"
require "#{SiSU_lib}/hub"