xbps-src: show-build-deps: fix an issue with subpkgs.

This commit is contained in:
Juan RP 2015-02-28 01:52:23 +01:00
parent 4130cd3e8f
commit 429df59e2a

View file

@ -48,7 +48,7 @@ show_pkg_files() {
}
show_pkg_build_deps() {
local f x _pkgname _dep
local f x _pkgname _dep found
BEGIN_INSTALL=1
check_pkg_arch $XBPS_CROSS_BUILD
@ -71,6 +71,7 @@ show_pkg_build_deps() {
fi
done
if [ -n "$found" ]; then
unset found
continue
fi
echo "$f"