diff options
author | Adam Harvey <aharvey@php.net> | 2013-06-23 11:01:36 -0700 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2013-06-23 11:02:00 -0700 |
commit | 2531307be601b95a4aac38dc26dd2d27112b9291 (patch) | |
tree | 6e95b5565b49d09af1ff328f063a9aa635a5a48f | |
parent | 8623562b02dd6759617ef78ddcb06bdfe7710329 (diff) | |
download | php-git-2531307be601b95a4aac38dc26dd2d27112b9291.tar.gz |
Fix bug #65088 (Generated configure script is malformed on OpenBSD).
We fell foul of a "common urban legend"[0], which resulted in us backslash
escaping double quotes that we didn't need to in acinclude.m4. This worked fine
on most shells, but OpenBSD's ksh implementation really didn't like it.
[0] http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Shell-Substitutions.html
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | acinclude.m4 | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -2,6 +2,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2013, PHP 5.4.18 +- Core: + . Fixed bug #65088 (Generated configure script is malformed on OpenBSD). + (Adam) + - CLI server: . Fixed bug #65066 (Cli server not responsive when responding with 422 http status code). (Adam) diff --git a/acinclude.m4 b/acinclude.m4 index 350e4989bb..d5912ad101 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -66,10 +66,10 @@ AC_DEFUN([PHP_EXPAND_PATH],[ $2=$1 else changequote({,}) - ep_dir="`echo $1|$SED 's%/*[^/][^/]*/*$%%'`" + ep_dir=`echo $1|$SED 's%/*[^/][^/]*/*$%%'` changequote([,]) - ep_realdir="`(cd \"$ep_dir\" && pwd)`" - $2="$ep_realdir/`basename \"$1\"`" + ep_realdir=`(cd "$ep_dir" && pwd)` + $2="$ep_realdir"/`basename "$1"` fi ]) |