aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--data/doc/sisu/CHANGELOG_v32
-rw-r--r--lib/sisu/v3/hub.rb6
2 files changed, 5 insertions, 3 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index 7fd5f885..05bc8e83 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -21,6 +21,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.10.orig.tar.xz
sisu_3.2.10-1.dsc
sisu_3.2.10-1.debian.tar.gz
+* v3: hub, "requires", fix
+
* v3: code headers, mostly copyright
%% 3.2.9.orig.tar.xz (2012-05-19:20/6)
diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb
index 67f6913a..ee0b492a 100644
--- a/lib/sisu/v3/hub.rb
+++ b/lib/sisu/v3/hub.rb
@@ -205,6 +205,9 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on
@msg,@msgs='',nil
@tell=lambda { SiSU_Screen::Ansi.new(@opt.cmd,@msg,"#{@msgs.inspect if @msgs}") }
end
+ def requires(req)
+ require_relative req
+ end
def actions
if @opt.act[:profile][:set]==:on
require 'profile'
@@ -321,9 +324,6 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on
retry unless @retry_count > 1
ensure
end
- end
- def requires(req)
- require_relative req
end
def each_file_loop_options
@opt.files.each_with_index do |fno,i|