aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-02-05 05:02:54 +0000
committerRalph Amissah <ralph@amissah.com>2008-02-05 05:02:54 +0000
commit4c36cadd7fef8b4bbdb0f423bdc4b7c7365d5699 (patch)
tree5e8d5017242f98cf516999e189d0616a479c7b0d /bin
parentfor update replace LIKE with '=' ; required by pg8.3 bigint (diff)
ruby 1.9 open; future pgsql testing on 8.3; encoding utf-8 checks; version bump 0.65.0
* ruby 1.9 use opened, testing required * db sql pgsql future testing on version 8.3 * encoding utf-8 some compatibility checks
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"