summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:24:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:24:46 (EDT)
commitd233bfd1a423d7515017ef4bda99ac5501120a43 (patch)
tree531e4e8737fa74282f0457369150cf7305366b70 /src
parent34f21a5b49952dcb80acde5fafd85267c69e3b1d (diff)
ob_reduce_deps(): Use -p instead of -P for platform
Same rationale as in commit 34f21a5.
Diffstat (limited to 'src')
-rw-r--r--src/ob-checkbuilddeps.sh2
-rw-r--r--src/ob-gencontrol.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh
index a7b6306..a87831e 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 94c2471..ffbaf82 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -80,12 +80,12 @@ gen_control()
;;
'Depends'|'Recommends'|'Suggests'|'Pre-Depends')
value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \
- -P "${OPK_HOST_PLAT}" "${value}")"
+ -p "${OPK_HOST_PLAT}" "${value}")"
value="$(ob_substvars "${value}")"
;;
'Conflicts'|'Provides'|'Replaces')
value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \
- -P "${OPK_HOST_PLAT}" -u "${value}")"
+ -p "${OPK_HOST_PLAT}" -u "${value}")"
value="$(ob_substvars "${value}")"
;;
esac