summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildenv.sh2
-rw-r--r--src/ob-checkbuilddeps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index fc7c472..6d42851 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -27,7 +27,7 @@ setup_build_helper()
IFS=', '
for dep in $(ob_get_source_parameter 'Build-Depends'); do
unset IFS
- ob_parse_dep -P dep_pkg "${dep}" >/dev/null
+ ob_parse_dep -P dep_pkg -- "${dep}" >/dev/null
if [ -r "${HELPERDIR}/${dep_pkg}" ]; then
. "${HELPERDIR}/${dep_pkg}"
PATH="${helper_path}:${PATH}"
diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh
index ce9ad15..f5afe81 100644
--- a/src/ob-checkbuilddeps.sh
+++ b/src/ob-checkbuilddeps.sh
@@ -29,7 +29,7 @@ check_dep()
local pkg_ver=
# Leave stdout for caller to collect.
- ob_parse_dep -P dep_pkg -r dep_rel -v dep_ver "${dep}"
+ ob_parse_dep -P dep_pkg -r dep_rel -v dep_ver -- "${dep}"
status="$("${OPKG}" status "${dep_pkg}")"
if ! printf '%s\n' "${status}" | grep '^Status: .* .* installed$' \