xbps-src: make show-build-deps return err when arch is not supported.

This commit is contained in:
Juan RP 2015-02-28 02:38:00 +01:00
parent 429df59e2a
commit cda175e0d6
2 changed files with 4 additions and 5 deletions

View file

@ -50,8 +50,7 @@ show_pkg_files() {
show_pkg_build_deps() {
local f x _pkgname _dep found
BEGIN_INSTALL=1
check_pkg_arch $XBPS_CROSS_BUILD
check_pkg_arch "$XBPS_CROSS_BUILD" 1
setup_pkg_depends
# build time deps
for f in ${host_build_depends} ${build_depends} ${run_depends}; do