summary refs log tree commit diff
path: root/xls
diff options
context:
space:
mode:
Diffstat (limited to 'xls')
-rwxr-xr-xxls2
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