summaryrefslogtreecommitdiff
path: root/build-recipe-appimage
diff options
context:
space:
mode:
authorAdrian Schröter <adrian@suse.de>2017-03-14 17:15:19 +0100
committerAdrian Schröter <adrian@suse.de>2017-03-14 17:15:19 +0100
commited651e37fc31288bb0ae1cc05dc4e5e2396aeeca (patch)
treeaebde20d0beecf59d34a5e012396dd435a0a8a7a /build-recipe-appimage
parent94c4986487c336f272abf9cb045b87f49b4b1422 (diff)
some appimage support fixes
Diffstat (limited to 'build-recipe-appimage')
-rw-r--r--build-recipe-appimage8
1 files changed, 6 insertions, 2 deletions
diff --git a/build-recipe-appimage b/build-recipe-appimage
index c27acad..d43f18e 100644
--- a/build-recipe-appimage
+++ b/build-recipe-appimage
@@ -6,7 +6,7 @@
#
################################################################
#
-# Copyright (c) 2016 SUSE Linux Products GmbH
+# Copyright (c) 2017 SUSE Linux Products GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or 3 as
@@ -61,7 +61,11 @@ recipe_build_appimage() {
[ -z "${ARCH}" -o -z "${DIST}" ] && cleanup_and_exit 1
- test -d $BUILD_ROOT/.build.binaries || cleanup_and_exit 1
+ if ! test -d $BUILD_ROOT/.build.binaries; then
+ echo "No binaries available in $BUILD_ROOT/.build.binaries"
+ cleanup_and_exit 1
+ fi
+
if test "$DO_INIT" = true; then
if test -n "$DEB" -a ! -d "$BUILD_ROOT/.build.binaries/dists" ; then
echo "creating debian repository metadata..."