summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/meson.build2
-rw-r--r--shell-completion/zsh/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/meson.build b/shell-completion/bash/meson.build
index 8c2eada6cb..9399661845 100644
--- a/shell-completion/bash/meson.build
+++ b/shell-completion/bash/meson.build
@@ -42,7 +42,7 @@ if bashcompletiondir != 'no'
]
foreach item : items
- if item[1] == '' or conf.get(item[1], 0) == 1
+ if item[1] == '' or conf.get(item[1], false)
install_data(item[0],
install_dir : bashcompletiondir)
endif
diff --git a/shell-completion/zsh/meson.build b/shell-completion/zsh/meson.build
index ed1513ed25..34408ce90d 100644
--- a/shell-completion/zsh/meson.build
+++ b/shell-completion/zsh/meson.build
@@ -39,7 +39,7 @@ if zshcompletiondir != 'no'
]
foreach item : items
- if item[1] == '' or conf.get(item[1], 0) == 1
+ if item[1] == '' or conf.get(item[1], false)
install_data(item[0],
install_dir : zshcompletiondir)
endif