diff options
author | P. 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) |
commit | 2274f50b1e3126b89203315582a1ccda47749ace (patch) | |
tree | c1d8dc29ccf9916ec96e71186c1dba77f4682d25 | |
parent | e4660ecb5c1d30b94711a873c5e941379595bce7 (diff) |
opkbuild: Change platform option to -p
-rw-r--r-- | locale/en_US/opkbuild.sh | 2 | ||||
-rw-r--r-- | src/opkbuild.sh | 4 |
2 files changed, 3 insertions, 3 deletions
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 <host-arch> distribution architecture for which architecture- dependent packages should be built (default: system architecture) - -P <host-plat> application platform for which platform-specific + -p <host-plat> 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) |