From 4f1c7ccbf6de327b370fb6d83d9bbc9fb7fa28a9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 28 Sep 2012 02:05:45 -0400 Subject: [PATCH] linux configuration file bugfix --- build/config-linux-gcc-debug.py | 2 +- build/config-linux-gcc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/config-linux-gcc-debug.py b/build/config-linux-gcc-debug.py index bfa12cae..9c93d567 100644 --- a/build/config-linux-gcc-debug.py +++ b/build/config-linux-gcc-debug.py @@ -27,7 +27,7 @@ COLLADALIB = ['collada14dom'] # versions at the same time by explicitly specifying e.g. PYTHON27INCLUDE, # PYTHON27LIB, PYTHON27LIBDIR and PYTHON32INCLUDE, PYTHON32LIB, PYTHON32LIBDIR -pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip() +pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip().replace('.', '') env = locals() env['PYTHON'+pyver+'INCLUDE'] = [] diff --git a/build/config-linux-gcc.py b/build/config-linux-gcc.py index 0308f63b..2f8ce2fe 100644 --- a/build/config-linux-gcc.py +++ b/build/config-linux-gcc.py @@ -27,7 +27,7 @@ COLLADALIB = ['collada14dom'] # versions at the same time by explicitly specifying e.g. PYTHON27INCLUDE, # PYTHON27LIB, PYTHON27LIBDIR and PYTHON32INCLUDE, PYTHON32LIB, PYTHON32LIBDIR -pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip() +pyver = os.popen("python --version 2>&1 | grep -oE '([[:digit:]].[[:digit:]])'").read().strip().replace('.', '') env = locals() env['PYTHON'+pyver+'INCLUDE'] = []