From 3ca890e2e7195c00881e81e4c7b408eee18faa01 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 6 Jun 2012 23:48:11 -0400 Subject: v3: sysenv, check @md.make.respond_to?(:skin) --- data/doc/sisu/CHANGELOG_v3 | 4 +++- lib/sisu/v3/sysenv.rb | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index c6c1d1c2..fd822384 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -30,7 +30,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.12.orig.tar.xz sisu --exc-top-band --html --concordance filename.sst * html_segments, @make.build.html_navigation? fix -v3: screen reporting, ansi colors, cosmetic +* v3: sysenv, check @md.make.respond_to?(:skin) + +* v3: screen reporting, ansi colors, cosmetic * Rake, Rant installer sisu installer require ruby >= 1.9.3 diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb index b8dd37b0..5e9533a2 100644 --- a/lib/sisu/v3/sysenv.rb +++ b/lib/sisu/v3/sysenv.rb @@ -5647,7 +5647,8 @@ WOK @env=SiSU_Env::InfoEnv.new end def apply - if @md.make.skin + if @m.respond_to?(:make) \ + and @md.make.respond_to(:skin) skin_path=unless @md.opt.f_pth[:pth] =~/\/\S+?\/sisupod\/\S+?\/sisupod\/doc/ [ "#{@env.path.pwd}/_sisu/skin", -- cgit v1.2.3