From b792a323057ca7fd1895f28d58f7ec38688a92ce Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Thu, 10 Sep 2009 20:03:22 +0200 Subject: [PATCH] turn off scons cache mode in sgmldoc check --- site_scons/sgmldoc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site_scons/sgmldoc.py b/site_scons/sgmldoc.py index 7c04ed6..61d53a7 100644 --- a/site_scons/sgmldoc.py +++ b/site_scons/sgmldoc.py @@ -8,12 +8,14 @@ from SCons.Script import ARGUMENTS,Touch,Delete import os import SCons.Action +import SCons.SConf def checkForSGMLFMT(check): """Returns True if we have working sgmlfmt executable for building documentation.""" check.Message("Checking for working sgmlfmt... ") oldp=SCons.Action.print_actions SCons.Action.print_actions = 0 + SCons.SConf.SetCacheMode('force') check.env.Execute(Touch('empty')) check.env.Execute(Delete('empty.html')) rc,out=check.TryAction("sgmlfmt -d docbook -f html empty")