summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-07-30 03:19:11 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2015-07-30 03:19:11 (GMT)
commitfa5c62b33d842413b9dda4596c76d9b25d7afa03 (patch)
treea0f93079317c60e9b601fa561dfe7ea2e507328a
parent097978017a9e65a5037d8ed37a0acba8c3fd066e (diff)
downloadSCons-fa5c62b33d842413b9dda4596c76d9b25d7afa03.zip
SCons-fa5c62b33d842413b9dda4596c76d9b25d7afa03.tar.gz
SCons-fa5c62b33d842413b9dda4596c76d9b25d7afa03.tar.bz2
Call scons-proc.py with the same python executable that the docs-update-generated is being run by.
-rw-r--r--bin/docs-update-generated.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/docs-update-generated.py b/bin/docs-update-generated.py
index 66b22c0..55f0035 100644
--- a/bin/docs-update-generated.py
+++ b/bin/docs-update-generated.py
@@ -8,6 +8,7 @@
#
import os
+import sys
import SConsDoc
# Directory where all generated files are stored
@@ -41,8 +42,8 @@ def generate_all():
print "Couldn't create destination folder %s! Exiting..." % gen_folder
return
# Call scons-proc.py
- os.system('python %s -b %s -f %s -t %s -v %s %s' %
- (os.path.join('bin','scons-proc.py'),
+ os.system('%s %s -b %s -f %s -t %s -v %s %s' %
+ (sys.executable, os.path.join('bin','scons-proc.py'),
argpair('builders'), argpair('functions'),
argpair('tools'), argpair('variables'), ' '.join(flist)))