From 429df59e2ab1cb775b83c461704956674869e846 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Feb 2015 01:52:23 +0100 Subject: [PATCH] xbps-src: show-build-deps: fix an issue with subpkgs. --- common/xbps-src/shutils/show.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/show.sh b/common/xbps-src/shutils/show.sh index 4a4e1fef2fd..1449bb7f349 100644 --- a/common/xbps-src/shutils/show.sh +++ b/common/xbps-src/shutils/show.sh @@ -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"