summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5deab4a27e..18c666cd9a 100755
--- a/configure
+++ b/configure
@@ -1104,7 +1104,7 @@ for opt do
--help|-h) show_help
;;
*)
- optname="${opt%=*}"
+ optname="${opt%%=*}"
optname="${optname#--}"
optname=$(echo "$optname" | sed 's/-/_/g')
is_in $optname $CMDLINE_SET || die_unknown $opt