diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-07-26 00:22:22 -0300 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-07-26 17:50:15 +0200 |
commit | 421079cf380927a074457771a41b6e17da2ad2e5 (patch) | |
tree | f256f3211877eb0d0ed06be8c030d07bc7b93abd /xls | |
parent | 8f1f1fee5e85361f7400e535d83dfd2c2d229d4d (diff) | |
download | xtools-421079cf380927a074457771a41b6e17da2ad2e5.tar.gz xtools-421079cf380927a074457771a41b6e17da2ad2e5.tar.xz xtools-421079cf380927a074457771a41b6e17da2ad2e5.zip |
xdbg,xi,xlint,xls,xq,xrs: redirect xdistdir stderr to /dev/null. v0.61
These commands were outputting error messages from xdistdir when outside a void-packages folder, even though the command is supposed to fail silently. Closes: #190 [via git-merge-pr]
Diffstat (limited to 'xls')
-rwxr-xr-x | xls | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xls b/xls index 8a5525e..5d5052b 100755 --- a/xls +++ b/xls @@ -2,7 +2,7 @@ # xls PKGS... - list files contained in PKGS (including binpkgs) BRANCH=$(git symbolic-ref -q --short HEAD 2>/dev/null) -XBPS_DISTDIR="$(xdistdir)" || XBPS_DISTDIR=. +XBPS_DISTDIR="$(xdistdir 2>/dev/null)" || XBPS_DISTDIR=. ADDREPO=" --repository=$XBPS_DISTDIR/hostdir/binpkgs/$BRANCH --repository=$XBPS_DISTDIR/hostdir/binpkgs/$BRANCH/nonfree |