summaryrefslogtreecommitdiffstats
path: root/src/ob-checkbuilddeps.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:21:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:21:53 (EDT)
commit34f21a5b49952dcb80acde5fafd85267c69e3b1d (patch)
treeb0a288fddaeab2cb9894755b903f6103df6f464d /src/ob-checkbuilddeps.sh
parent7ce619cbbac534e9cf1a934189e57c8464ea2c45 (diff)
ob_parse_dep(): Swap -p and -P option letters
Be consistent with opkbuild and other executable CLIs.
Diffstat (limited to 'src/ob-checkbuilddeps.sh')
-rw-r--r--src/ob-checkbuilddeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh
index 05826ad..a7b6306 100644
--- a/src/ob-checkbuilddeps.sh
+++ b/src/ob-checkbuilddeps.sh
@@ -30,7 +30,7 @@ check_dep()
local status=
local pkg_ver=
- 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$' \