summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:25:50 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:25:50 -0500
commit6a395c595a1aff501f5edc6b726e929476331b56 (patch)
treea730f23b7fbfc52dc44e57a6a24e78d0b7bf4ddb
parent66924443eaf0d4342531323d00add4e14498b76f (diff)
treepkg: fail early if there is a configuration error
-rwxr-xr-xsrc/treepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treepkg b/src/treepkg
index 0f6d605..e509dac 100755
--- a/src/treepkg
+++ b/src/treepkg
@@ -19,7 +19,7 @@ source libremessages
source $(librelib conf.sh)
load_files libretools
-check_vars libretools HOOKPREBUILD FULLBUILDCMD HOOKLOCALRELEASE
+check_vars libretools HOOKPREBUILD FULLBUILDCMD HOOKLOCALRELEASE || exit 1
load_files makepkg
term_title "$(basename $0)"