summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:28:27 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:28:27 (EDT)
commit71223efba8f4e3f50a93ed184648fd3eaedfce0a (patch)
treeb40ca180762304eca1ef5f69c23cb6447426d264 /lib
parentd233bfd1a423d7515017ef4bda99ac5501120a43 (diff)
ob_get_binary_packages(): Use -p instead of -P for platform
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/package.sh b/lib/package.sh
index d66d596..6aa7b94 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -76,12 +76,12 @@ ob_get_binary_packages()
local pkgs=
OPTIND=1
- while getopts 'a:P:' opt; do
+ while getopts 'a:p:' opt; do
case "${opt}" in
a)
host_arch="${OPTARG}"
;;
- P)
+ p)
host_plat="${OPTARG}"
;;
?)