Skip to content

Commit

Permalink
fix fetching of appimage build results
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Mar 15, 2017
1 parent b67573c commit f536adb
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions build-recipe-appimage
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ recipe_build_appimage() {

# extract build result basenames
local build_results=""
for i in $BUILD_ROOT/$TOPDIR/SOURCES/* ; do
for i in $BUILD_ROOT/$TOPDIR/OTHER/* ; do
test -f "$i" || continue
case "${i##*/}" in
*.AppImage|*.AppImage.digest|*.AppImage.zsync)
Expand All @@ -105,15 +105,7 @@ recipe_build_appimage() {
cleanup_and_exit 1 "No live-build result found"
fi

# move created products (and their metadata files) to destination
local buildnum="${RELEASE:+-Build${RELEASE}}"
for prefix in $(echo -e ${build_results} | sort | uniq) ; do
for f in ${prefix}.* ; do
mv ${f} \
$BUILD_ROOT/$TOPDIR/OTHER/${prefix##*/}${buildnum}${f#${prefix}}
BUILD_SUCCEEDED=true
done
done
BUILD_SUCCEEDED=true
}

recipe_resultdirs_appimage() {
Expand Down

0 comments on commit f536adb

Please sign in to comment.