about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPiraty <piraty1@inbox.ru>2020-02-26 16:57:54 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-02-26 17:01:04 +0100
commitca3cf4f3537c588f6100fd817c3a25a84629ec1c (patch)
treedb1a2038d320fade7a8ecbff61eb31024ef5a8b9
parent290fa5b7e434bdd3962df5ec50f9d473d9246634 (diff)
downloadxtools-ca3cf4f3537c588f6100fd817c3a25a84629ec1c.tar.gz
xtools-ca3cf4f3537c588f6100fd817c3a25a84629ec1c.tar.xz
xtools-ca3cf4f3537c588f6100fd817c3a25a84629ec1c.zip
xgensum: default to /home/user1/src/void-packages/hostdir v0.58
to not create hostdirs in package dirs

Signed-off-by: Piraty <piraty1@inbox.ru>
-rwxr-xr-xxgensum4
1 files changed, 2 insertions, 2 deletions
diff --git a/xgensum b/xgensum
index 00a9b14..72963c6 100755
--- a/xgensum
+++ b/xgensum
@@ -17,10 +17,10 @@ case "$1" in
 	-H*) FLAG_h=$2; shift; shift
 esac
 
-: ${FLAG_h:=hostdir}
-
 XBPS_DISTDIR=$(xdistdir) || exit 1
 
+: ${FLAG_h:=$XBPS_DISTDIR/hostdir}
+
 if [ -f "$1" ]; then
 	template="$1"
 elif [ -f "$1/template" ]; then