diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 961bba433b7..0d0a9b7278f 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -722,7 +722,7 @@ def buildPythonDocs(): curDir = os.getcwd() os.chdir(buildDir) runCommand('make update') - runCommand('make html') + runCommand("make html PYTHON='%s'" % os.path.abspath(sys.executable)) os.chdir(curDir) if not os.path.exists(docdir): os.mkdir(docdir)