summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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)