From 5ed6a89cd164f40b60a2008f63fad2534d36b624 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 17 Feb 2022 12:32:53 +0100 Subject: fix `configure` options of the format '--option value' and 'OPTION=VALUE' --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3e497b6..e479789 100755 --- a/configure +++ b/configure @@ -46,7 +46,7 @@ while [ "x$1" != x ]; do OPT="${OPT#--}" OPT_NAME="${OPT%%=*}" - if [ "x$OPT_BASE" != "x$OPT" ]; then + if [ "x$OPT_NAME" != "x$OPT" ]; then OPT_VAL="${OPT#*=}" else shift @@ -86,7 +86,7 @@ while [ "x$1" != x ]; do OPT_NAME="${OPT%%=*}" OPT_VAL="${OPT#*=}" - case "$1" in + case "$OPT_NAME" in BROWSER_BINARY) BROWSER_BINARY="$OPT_VAL";; CLEAN_PROFILE) -- cgit v1.2.3