summaryrefslogtreecommitdiff
path: root/completions/configure
diff options
context:
space:
mode:
Diffstat (limited to 'completions/configure')
-rw-r--r--completions/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/configure b/completions/configure
index 8e28d451..2337c497 100644
--- a/completions/configure
+++ b/completions/configure
@@ -26,7 +26,7 @@ _configure()
# --option=SETTING will include 'SETTING' as a contextual hint
[[ "$cur" != -* ]] && return 0
- if [ -n "$COMP_CONFIGURE_HINTS" ]; then
+ if [[ -n $COMP_CONFIGURE_HINTS ]]; then
COMPREPLY=( $( compgen -W "$( $1 --help 2>&1 | \
awk '/^ --[A-Za-z]/ { print $1; \
if ($2 ~ /--[A-Za-z]/) print $2 }' | sed -e 's/[[,].*//g' )" \