about summary refs log tree commit diff
diff options
context:
space:
mode:
-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