Changeset

3050:76f0d653b347

configure: Fix to allow option values containing '=' (thanks Jakub)
author Matthew Wild <mwild1@gmail.com>
date Tue, 18 May 2010 23:28:36 +0100
parents 3046:92173d8a35d3
children 3051:15150ad771df 4276:a37522bf6b1b
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Apr 28 16:52:06 2010 +0400
+++ b/configure	Tue May 18 23:28:36 2010 +0100
@@ -61,7 +61,7 @@
 
 while [ "$1" ]
 do
-   value="`echo $1 | sed 's/.*=\(.*\)/\1/'`"
+   value="`echo $1 | sed 's/[^=]*=\(.*\)/\1/'`"
    if echo "$value" | grep -q "~"
    then
       echo