cscript tweaks.
authorCarl Hetherington <cth@carlh.net>
Wed, 24 Apr 2013 15:06:09 +0000 (16:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 24 Apr 2013 15:06:09 +0000 (16:06 +0100)
cscript

diff --git a/cscript b/cscript
index 9cc47606927d950278cd6e7d60a061d7a3338845..18913fa13d1be3941451807cd7f36e9c21823ae3 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,3 +1,4 @@
+import os
 
 def build(env, target):
     cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
@@ -9,10 +10,6 @@ def build(env, target):
     env.command('./waf build install')
 
 def make_doxygen(env):
-    try:
-        os.makedirs('build/doc')
-    except:
-        pass
-    env.command('pwd')
+    os.makedirs('build/doc')
     env.command('doxygen')
     return os.path.abspath('build/doc/html')