From 34f21a5b49952dcb80acde5fafd85267c69e3b1d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 19:21:53 -0400 Subject: ob_parse_dep(): Swap -p and -P option letters Be consistent with opkbuild and other executable CLIs. --- (limited to 'src') diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh index dd16146..2b95f0f 100644 --- a/src/ob-buildenv.sh +++ b/src/ob-buildenv.sh @@ -26,7 +26,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 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$' \ -- cgit v0.9.1