fix escaping of brackets for m4 broken in b6b2149e48aa61981ae0199c963d5145a37c258c
authorAndrew Dunstan
Sun, 3 May 2015 13:37:15 +0000 (09:37 -0400)
committerAndrew Dunstan
Sun, 3 May 2015 13:37:15 +0000 (09:37 -0400)
config/python.m4
configure

index de346fb53aa428cb1bf184428938db614295c6f8..fc6afab9f93354207f4999d46ba375780417a075 100644 (file)
@@ -45,7 +45,7 @@ if a == b:
 else:
     print(a + ' ' + b)"`
 if test "$PORTNAME" = win32 ; then
-    python_includespec=`echo $python_includespec | sed 's,[\],/,g'`
+    python_includespec=`echo $python_includespec | sed 's,[[\]],/,g'`
 fi
 AC_MSG_RESULT([$python_includespec])
 
index 191e8f0326370ad99603bc64bf3122de10f13e72..24c04301a691370153014476e8f4f6eba2cc5993 100755 (executable)
--- a/configure
+++ b/configure
@@ -7488,7 +7488,7 @@ if a == b:
 else:
     print(a + ' ' + b)"`
 if test "$PORTNAME" = win32 ; then
-    python_includespec=`echo $python_includespec | sed 's,\,/,g'`
+    python_includespec=`echo $python_includespec | sed 's,[\],/,g'`
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_includespec" >&5
 $as_echo "$python_includespec" >&6; }