aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-02-05 23:50:34 +0000
committerRalph Amissah <ralph@amissah.com>2008-02-05 23:50:34 +0000
commitad21750ba3c44303d0c2ad91269771605612a8e6 (patch)
treefb1c5ce2737a1cf04069e409563e20540dcea9ff /bin
parentUpdated sisu-0.64.2 (diff)
parentversion rolled back, not ready to open ruby 1.9 some libraries not yet available (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sisu7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/sisu b/bin/sisu
index 1ba2e947..3d1152a5 100755
--- a/bin/sisu
+++ b/bin/sisu
@@ -3,7 +3,12 @@
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'
$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"