aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-05-03 09:37:15 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-05-03 09:37:15 -0400
commitf707b53449f3ab6998c615b746ad01f5775723a3 (patch)
tree4b6df5920d4abbcc49829ccfc85c7439e399bb27
parentf802c6ddba143bd88512b5fc34e84ae0b4883284 (diff)
downloadpostgresql-f707b53449f3ab6998c615b746ad01f5775723a3.tar.gz
postgresql-f707b53449f3ab6998c615b746ad01f5775723a3.zip
fix escaping of brackets for m4 broken in b6b2149e48aa61981ae0199c963d5145a37c258c
-rw-r--r--config/python.m42
-rwxr-xr-xconfigure2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/python.m4 b/config/python.m4
index de346fb53aa..fc6afab9f93 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -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])
diff --git a/configure b/configure
index 191e8f03263..24c04301a69 100755
--- 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; }