diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 14:33:05 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 14:33:05 (EDT) |
commit | 209bfa5bbf8eb882b6593f08b3ed108995a0d1e3 (patch) | |
tree | 5e17fe9b96a93b86a7be57f6ed0f1aae52e044a7 | |
parent | 16a6b4974d54f2f56a8fd38a4438850870c77230 (diff) |
Delimit operands of ob_reduce_deps()
-rw-r--r-- | src/ob-checkbuilddeps.sh | 2 | ||||
-rw-r--r-- | src/ob-gencontrol.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh index f5afe81..39d7e60 100644 --- a/src/ob-checkbuilddeps.sh +++ b/src/ob-checkbuilddeps.sh @@ -59,7 +59,7 @@ check_build_deps() deps="$(ob_get_source_parameter 'Build-Depends')" deps="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \ - -p "${OPK_HOST_PLAT}" "${deps}")" + -p "${OPK_HOST_PLAT}" -- "${deps}")" deps="$(ob_substvars "${deps}")" missing='' diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 79ea56c..e42ab60 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -94,14 +94,14 @@ gen_control() value="$(ob_reduce_deps \ -a "${OPK_HOST_ARCH}" \ -p "${OPK_HOST_PLAT}" \ - "${value}")" + -- "${value}")" value="$(ob_substvars "${value}")" ;; 'Conflicts' | 'Provides' | 'Replaces') value="$(ob_reduce_deps \ -a "${OPK_HOST_ARCH}" \ -p "${OPK_HOST_PLAT}" \ - -u "${value}")" + -u -- "${value}")" value="$(ob_substvars "${value}")" ;; esac |