From 4ed63d17a32b2f8c3939f0465adb00b1f07c018a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 23 Sep 2015 15:13:22 +0200 Subject: xls: adjust repositories to include non-branch binpkgs. --- xls | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'xls') diff --git a/xls b/xls index 126bf23..344029f 100755 --- a/xls +++ b/xls @@ -2,11 +2,13 @@ # xls PKGS... - list files contained in PKGS (including binpkgs) BRANCH=$(git symbolic-ref -q --short HEAD 2>/dev/null) +ADDREPO="--repository=hostdir/binpkgs/$BRANCH + --repository=../hostdir/binpkgs/$BRANCH + --repository=../../hostdir/binpkgs/$BRANCH + --repository=hostdir/binpkgs + --repository=../hostdir/binpkgs + --repository=../../hostdir/binpkgs" for pkg; do - xbps-query \ - --repository=hostdir/binpkgs/$BRANCH \ - --repository=../hostdir/binpkgs/$BRANCH \ - --repository=../../hostdir/binpkgs/$BRANCH \ - -f $pkg + xbps-query $ADDREPO -f $pkg done -- cgit 1.4.1