From 421079cf380927a074457771a41b6e17da2ad2e5 Mon Sep 17 00:00:00 2001 From: Érico Rolim Date: Sun, 26 Jul 2020 00:22:22 -0300 Subject: xdbg,xi,xlint,xls,xq,xrs: redirect xdistdir stderr to /dev/null. 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] --- xls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xls') 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 -- cgit 1.4.1