summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-09-23 15:30:40 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-09-23 15:30:40 +0200
commitd5f4d873c0b1f30f68509472fc60f5a1bd35e0a8 (patch)
tree775fd85340b3c838ac20220123df7084d0fe1f65
parent33d8bf838c7a2b068c98593eb9f91f2bda24617f (diff)
downloadxtools-d5f4d873c0b1f30f68509472fc60f5a1bd35e0a8.tar.gz
xtools-d5f4d873c0b1f30f68509472fc60f5a1bd35e0a8.tar.xz
xtools-d5f4d873c0b1f30f68509472fc60f5a1bd35e0a8.zip
xdistdir: more helpful error message.
-rwxr-xr-xxdistdir3
1 files changed, 2 insertions, 1 deletions
diff --git a/xdistdir b/xdistdir
index 01e4c02..aac8e49 100755
--- a/xdistdir
+++ b/xdistdir
@@ -17,6 +17,7 @@ elif [ -d ~/src/void-packages ]; then
 elif [ -d ~/src/xbps-packages ]; then
 	echo ~/src/xbps-packages
 else
-	echo "xdistdir: no idea, giving up" 1>&2
+	echo "xdistdir: can't find your void-packages tree, giving up" 1>&2
+	echo "xdistdir: please export XBPS_DISTDIR=/path/to/void-packages" 1>&2
 	exit 111
 fi