From 3a6a795fe3bb82b9d98f9716c1915fc0baccca3b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Aug 2014 13:06:16 -0400 Subject: install: Detect arch if not given --- (limited to 'lib') diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index d1ec81d..e690962 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -52,6 +52,8 @@ cmd_install_main() if [ "x${cmd_install_opt_a+set}" = 'xset' ]; then arch="${cmd_install_opt_a}" + else + arch="$(profile_detect_arch)" fi if [ "x${cmd_install_opt_P+set}" = 'xset' ]; then plat="${cmd_install_opt_P}" -- cgit v0.9.1