about summary refs log tree commit diff
path: root/xq
diff options
context:
space:
mode:
Diffstat (limited to 'xq')
-rwxr-xr-xxq2
1 files changed, 1 insertions, 1 deletions
diff --git a/xq b/xq
index 22095d2..94609a5 100755
--- a/xq
+++ b/xq
@@ -6,7 +6,7 @@ totop() {
 }
 
 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