summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index fa8dc257..b0ea8fbe 100644
--- a/SConstruct
+++ b/SConstruct
@@ -262,7 +262,8 @@ def CheckXsltproc(context):
probe = "xsltproc --nonet --noout '%s' xmltest.xml" % (docbook_man_uri,)
ret = context.TryAction(probe)[0]
os.remove("xmltest.xml")
- os.remove("foo.1")
+ if os.path.exists("foo.1"):
+ os.remove("foo.1")
context.Result( ret )
return ret