components/apache2-modules/mod_wsgi/patches/rename.patch
changeset 4699 e05387dee068
parent 2163 a23eea6de4af
--- a/components/apache2-modules/mod_wsgi/patches/rename.patch	Fri Jul 24 09:56:22 2015 -0700
+++ b/components/apache2-modules/mod_wsgi/patches/rename.patch	Thu May 28 13:37:21 2015 -0700
@@ -9,7 +9,7 @@
  LDFLAGS = @LDFLAGS@
  LDLIBS = @LDLIBS@
  
-+PYTHON_VERSION:=$(shell $(PYTHON) -V 2>&1 | sed -e 's/Python //' -e 's/..$$//')
++PYTHON_VERSION:=$(shell $(PYTHON) -V 2>&1 | sed -e 's/Python //' | cut -f1,2 -d'.')
 +
  SRCFILES = src/server/mod_wsgi.c src/server/wsgi_*.c