about summary refs log tree commit diff
path: root/xdbg
diff options
context:
space:
mode:
Diffstat (limited to 'xdbg')
-rwxr-xr-xxdbg2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdbg b/xdbg
index 40079b2..54ad35e 100755
--- a/xdbg
+++ b/xdbg
@@ -2,7 +2,7 @@
 # xdbg PKGS... - list debugging packages for PKGS and recursive dependencies
 
 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