From f080206f31a1c91392870b5691046e33feceb0e0 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Wed, 29 Jul 2015 20:19:11 -0700 Subject: Call scons-proc.py with the same python executable that the docs-update-generated is being run by. --- bin/docs-update-generated.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/docs-update-generated.py b/bin/docs-update-generated.py index 66b22c0b..55f00355 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))) -- cgit v1.2.1