diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 38206bfe013..b48162d75a1 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -734,7 +734,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)