aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-09-28 21:32:16 -0400
committerRalph Amissah <ralph@amissah.com>2014-09-28 21:32:16 -0400
commita07365736e1887c28745490e0b96f7e387a0941f (patch)
tree70edf24adc206d0128fdb02d07aad5e2125898ee /qi
parentv5 v6: version & changelog (diff)
qi (quick installer) minor
Diffstat (limited to 'qi')
-rwxr-xr-xqi9
1 files changed, 7 insertions, 2 deletions
diff --git a/qi b/qi
index f5711eaf..6bfddf62 100755
--- a/qi
+++ b/qi
@@ -42,8 +42,13 @@ begin
rescue LoadError
puts 'thor (package ruby-thor) not found'
end
-require_relative 'setup/sisu_version' # setup/sisu_version.rb
- include SiSUversion
+begin
+ require './setup/sisu_version' # ./setup/sisu_version.rb
+ include SiSUversion
+rescue LoadError
+ puts 'this does not appear to be a SiSU development directory'
+ exit
+end
require_relative 'setup/qi_libs' # setup/qi_libs.rb
require 'find'
require 'fileutils'