summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/oh-checkbuilddeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oh-checkbuilddeps b/src/oh-checkbuilddeps
index 0655fa6..e44c984 100644
--- a/src/oh-checkbuilddeps
+++ b/src/oh-checkbuilddeps
@@ -35,7 +35,7 @@ printf 'oh-checkbuilddeps: Checking build dependencies...\n'
for dep in $(oh_get_field Build-Depends); do
# TODO: Test this.
- if [ -z $(opkg status "${dep}" | grep "^Package: ${dep}") ]; then
+ if [ -z "$(opkg status "${dep}" | grep "^Package: ${dep}")" ]; then
printf 'oh-checkbuilddeps: Error: Dependency %s not installed.\n' \
"${dep}" >&2
exit 1