aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
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'