aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/sisu_termsheet
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-03-06 09:47:55 -0500
committerRalph Amissah <ralph@amissah.com>2010-03-06 09:47:55 -0500
commit306aed5b8a559aad2fb944a946ffdda9713f07ec (patch)
treecf627bc6438dba6103d4e05a1d5cff678f78df6f /bin/sisu_termsheet
parentskin_sisu utf-8 marker (diff)
introducing version 2, major patch, (version 1 libraries retained)sisu_2.0.0
Diffstat (limited to 'bin/sisu_termsheet')
-rw-r--r--bin/sisu_termsheet5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sisu_termsheet b/bin/sisu_termsheet
index b70c41ba..15771bae 100644
--- a/bin/sisu_termsheet
+++ b/bin/sisu_termsheet
@@ -4,7 +4,8 @@
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
-SiSU_version_dir='v1'
+argv=$*
+SiSU_version_dir=(argv.inspect=~/--v1/) ? 'v1' : 'v2'
SiSU_lib="sisu/#{SiSU_version_dir}"
require "#{SiSU_lib}/termsheet"
__END__
@@ -16,7 +17,7 @@ __END__
* Author: Ralph Amissah
* Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009 Ralph Amissah All Rights Reserved.
+ 2007, 2008, 2009, 2010 Ralph Amissah All Rights Reserved.
* License: GPL 3 or later: