summary refs log tree commit diff
path: root/xls
blob: 344029fe2ea7ab5e831ee51c340fc915f5d07a6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# 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 $ADDREPO -f $pkg
done