From 9af328f6b9e37effcaf08b52e41cf6c599d57c7e Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Wed, 10 Jul 2019 15:19:09 +0700 Subject: xgensum: exit early when xdistdir is failed --- xgensum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xgensum') diff --git a/xgensum b/xgensum index 81f112e..2047551 100755 --- a/xgensum +++ b/xgensum @@ -13,7 +13,7 @@ case "$1" in -i*) FLAG_i=$1; shift esac -XBPS_DISTDIR=$(xdistdir) +XBPS_DISTDIR=$(xdistdir) || exit 1 if [ -f "$1" ]; then template="$1" -- cgit 1.4.1