summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-xscripts/build/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index b511d79ae..318a2cc8c 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -212,7 +212,7 @@ Local_arguments ()
--dump)
# Dump version
Echo "This is live-build version %s" "${VERSION}"
- if [ $(which dpkg-query) ]; then
+ if command -v dpkg-query >/dev/null; then
Echo "Installed version reported by dpkg is %s" "$(dpkg-query -f='${Version}' --show live-build)"
fi