summaryrefslogtreecommitdiff
path: root/build-recipe-debbuild
diff options
context:
space:
mode:
Diffstat (limited to 'build-recipe-debbuild')
-rw-r--r--build-recipe-debbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/build-recipe-debbuild b/build-recipe-debbuild
index 6065fd2..08a33a3 100644
--- a/build-recipe-debbuild
+++ b/build-recipe-debbuild
@@ -24,8 +24,7 @@
recipe_setup_debbuild() {
TOPDIR=`chroot $BUILD_ROOT su -c "debbuild --eval '%_topdir'" - $BUILD_USER`
if test -z "$TOPDIR"; then
- echo "Error: TOPDIR empty"
- cleanup_and_exit 1
+ cleanup_and_exit 1 "Error: TOPDIR empty"
fi
test "$DO_INIT_TOPDIR" = false || rm -rf "$BUILD_ROOT$TOPDIR"
mkdir -p "$BUILD_ROOT$TOPDIR"