From 2274f50b1e3126b89203315582a1ccda47749ace Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 20 Sep 2014 07:47:21 -0400 Subject: opkbuild: Change platform option to -p --- diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh index f6a50d5..2f34f96 100644 --- a/locale/en_US/opkbuild.sh +++ b/locale/en_US/opkbuild.sh @@ -30,7 +30,7 @@ Options: -a distribution architecture for which architecture- dependent packages should be built (default: system architecture) - -P application platform for which platform-specific + -p application platform for which platform-specific packages should be configured (default: system platform) -D check build dependencies (default behavior) 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) -- cgit v0.9.1