subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1830885 - /subversion/trunk/build/generator/gen_make.py
Date Fri, 04 May 2018 07:44:15 GMT
Author: jorton
Date: Fri May  4 07:44:14 2018
New Revision: 1830885

URL: http://svn.apache.org/viewvc?rev=1830885&view=rev
Log:
* build/generator/gen_make.py
  (Generator.write_standalone): Use the same Python executable as
  used to run the script, which might not be called "python".

Modified:
    subversion/trunk/build/generator/gen_make.py

Modified: subversion/trunk/build/generator/gen_make.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_make.py?rev=1830885&r1=1830884&r2=1830885&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_make.py (original)
+++ subversion/trunk/build/generator/gen_make.py Fri May  4 07:44:14 2018
@@ -507,7 +507,7 @@ class Generator(gen_base.GeneratorBase):
     standalone.write('top_srcdir = .\n')
     standalone.write('top_builddir = .\n')
     standalone.write('SWIG = swig\n')
-    standalone.write('PYTHON = python\n')
+    standalone.write('PYTHON = ' + sys.executable + '\n')
     standalone.write('\n')
     standalone.write(open("build-outputs.mk","r").read())
     standalone.close()



Mime
View raw message