From e69caf9311690e8748ff3758269640f5dc400ea1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 25 Aug 2014 20:55:55 -0400 Subject: 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. --- (limited to 'lib') 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 -- cgit v0.9.1