Diff

configure @ 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
parent 1081:d41e88b07225
child 3051:15150ad771df
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