about summary refs log tree commit diff
path: root/xdistdir
diff options
context:
space:
mode:
authortriallax <triallax@tutanota.com>2023-06-26 11:51:57 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-06-26 14:28:31 +0200
commit95274e1b5d5826d0248b1053388592cec744864e (patch)
tree5f4788b05ab33be2f6338051c2fcf9d3a4c5bd72 /xdistdir
parentc41f36d4f5153956f97bce655e94c45168cbc941 (diff)
downloadxtools-95274e1b5d5826d0248b1053388592cec744864e.tar.gz
xtools-95274e1b5d5826d0248b1053388592cec744864e.tar.xz
xtools-95274e1b5d5826d0248b1053388592cec744864e.zip
Clean up shell redirects
Some of these are outright wrong (e.g. `echo foo 2>&1`), others are just
more verbose than they need to be.

Closes: #304 [via git-merge-pr]
Diffstat (limited to 'xdistdir')
-rwxr-xr-xxdistdir4
1 files changed, 2 insertions, 2 deletions
diff --git a/xdistdir b/xdistdir
index 4fdee68..1efea85 100755
--- a/xdistdir
+++ b/xdistdir
@@ -17,7 +17,7 @@ elif [ -d ~/src/void-packages ]; then
 elif [ -d ~/src/xbps-packages ]; then
 	echo ~/src/xbps-packages
 else
-	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
+	echo "xdistdir: can't find your void-packages tree, giving up" >&2
+	echo "xdistdir: please export XBPS_DISTDIR=/path/to/void-packages" >&2
 	exit 111
 fi