Module: Mesa Branch: master Commit: ec30d1b2e5738264ca2ab2ce23d9fce2b9c7a2ce URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec30d1b2e5738264ca2ab2ce23d9fce2b9c7a2ce
Author: José Fonseca <jfons...@vmware.com> Date: Fri Mar 27 19:13:21 2009 +0000 mesa: Use the python executable from sys.executable. From Ramesh Dharan <rrdha...@vmware.com> --- src/gallium/auxiliary/indices/SConscript | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/indices/SConscript b/src/gallium/auxiliary/indices/SConscript index e5f7ee9..712e215 100644 --- a/src/gallium/auxiliary/indices/SConscript +++ b/src/gallium/auxiliary/indices/SConscript @@ -1,17 +1,19 @@ Import('*') +from sys import executable as python_cmd + env.CodeGenerate( target = 'u_indices_gen.c', script = 'u_indices_gen.py', source = [], - command = 'python $SCRIPT > $TARGET' + command = python_cmd + ' $SCRIPT > $TARGET' ) env.CodeGenerate( target = 'u_unfilled_gen.c', script = 'u_unfilled_gen.py', source = [], - command = 'python $SCRIPT > $TARGET' + command = python_cmd + ' $SCRIPT > $TARGET' ) indices = env.ConvenienceLibrary( _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit