diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-25 20:55:55 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-25 20:55:55 (EDT) |
commit | e69caf9311690e8748ff3758269640f5dc400ea1 (patch) | |
tree | 66135d8765ead76ea81770acd950a090c398e192 | |
parent | e54bbecf65ecc567db22ce0fc16ef182c22a8e8d (diff) |
install: Use -p for platform option instead of -P
In a future version of opkbuild, -p will specify a platform and -P will
cause only platform-specific packages to be built.
-rw-r--r-- | lib/cmd/install.sh | 6 | ||||
-rw-r--r-- | locale/en_US.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index 1180c0f..984d4af 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -24,7 +24,7 @@ use profile use fd use pkg -cmd_install_optstring='a:P:m:F' +cmd_install_optstring='a:p:m:F' cmd_install_deps= cmd_install_fnames= cmd_install_md5sums= @@ -66,8 +66,8 @@ cmd_install_main() else arch="$(profile_detect_arch)" fi - if [ "x${cmd_install_opt_P+set}" = 'xset' ]; then - plat="${cmd_install_opt_P}" + if [ "x${cmd_install_opt_p+set}" = 'xset' ]; then + plat="${cmd_install_opt_p}" else plat="$(profile_default_plat)" fi diff --git a/locale/en_US.sh b/locale/en_US.sh index 93ddf78..46fdba2 100644 --- a/locale/en_US.sh +++ b/locale/en_US.sh @@ -60,7 +60,7 @@ There is NO WARRANTY, to the extent permitted by law.' # lib/cmd/install.sh msg_prokit_cmd_install_summary='install a system into a directory' -msg_prokit_cmd_install_usage='[-a <arch>] [-P <plat>] [-m <mirror>] [-F] '\ +msg_prokit_cmd_install_usage='[-a <arch>] [-p <plat>] [-m <mirror>] [-F] '\ '<suite> <root-dir>' msg_prokit_cmd_install_bad_archplat='Invalid combination of architecture "%s" '\ 'and platform "%s"' |