configure: Fix to allow option values containing '=' (thanks Jakub)
authorMatthew Wild <mwild1@gmail.com>
Tue, 18 May 2010 23:28:36 +0100
changeset 3050 76f0d653b347
parent 3046 92173d8a35d3
child 3051 15150ad771df
child 4276 a37522bf6b1b
configure: Fix to allow option values containing '=' (thanks Jakub)
configure
--- 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