aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-18 23:28:36 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-18 23:28:36 +0100
commit5df3474dd218fd4f6a65b196cf206a1a720c51a8 (patch)
treec7ba0f46b91b4ac6e4fed286ac93c0f3baaad39e
parentc9d2da2b2c17c4856588936ab484c1decc314fd9 (diff)
downloadprosody-5df3474dd218fd4f6a65b196cf206a1a720c51a8.tar.gz
prosody-5df3474dd218fd4f6a65b196cf206a1a720c51a8.zip
configure: Fix to allow option values containing '=' (thanks Jakub)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index bd8eb48c..e9e2dc7f 100755
--- a/configure
+++ b/configure
@@ -61,7 +61,7 @@ EOF
while [ "$1" ]
do
- value="`echo $1 | sed 's/.*=\(.*\)/\1/'`"
+ value="`echo $1 | sed 's/[^=]*=\(.*\)/\1/'`"
if echo "$value" | grep -q "~"
then
echo