summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-20 07:47:21 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-20 07:47:21 (EDT)
commit2274f50b1e3126b89203315582a1ccda47749ace (patch)
treec1d8dc29ccf9916ec96e71186c1dba77f4682d25 /src
parente4660ecb5c1d30b94711a873c5e941379595bce7 (diff)
opkbuild: Change platform option to -p
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 6ae8df5..d5df3c5 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -106,7 +106,7 @@ version()
get_options()
{
# Parse and handle command-line options.
- while getopts 'bBASFT:a:P:DdCcr:hV' opt; do
+ while getopts 'bBASFT:a:p:DdCcr:hV' opt; do
case "${opt}" in
b)
if [ -n "${opt_build}" ]; then
@@ -144,7 +144,7 @@ get_options()
a)
opt_host_arch="${OPTARG}"
;;
- P)
+ p)
opt_host_plat="${OPTARG}"
;;
D)