aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-06-06 23:48:11 -0400
committerRalph Amissah <ralph@amissah.com>2012-06-06 23:48:11 -0400
commit3ca890e2e7195c00881e81e4c7b408eee18faa01 (patch)
treef1325d1ed81d0775668078638a0a4a6501e6394c
parentv3: html_segments, @make.build.html_navigation?, fix, (excludes --exc-html-) (diff)
v3: sysenv, check @md.make.respond_to?(:skin)
-rw-r--r--data/doc/sisu/CHANGELOG_v34
-rw-r--r--lib/sisu/v3/sysenv.rb3
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",