diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-23 15:13:22 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-23 15:13:22 +0200 |
commit | 4ed63d17a32b2f8c3939f0465adb00b1f07c018a (patch) | |
tree | 4891847c44af1a161643817ab23cfdb8e141cab8 | |
parent | 254da60e526e31d2e8e910b768a0277655bd18ca (diff) | |
download | xtools-4ed63d17a32b2f8c3939f0465adb00b1f07c018a.tar.gz xtools-4ed63d17a32b2f8c3939f0465adb00b1f07c018a.tar.xz xtools-4ed63d17a32b2f8c3939f0465adb00b1f07c018a.zip |
xls: adjust repositories to include non-branch binpkgs.
-rwxr-xr-x | xls | 12 |
1 files changed, 7 insertions, 5 deletions
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 |