# HG changeset patch # User wenzelm # Date 1451674320 -3600 # Node ID 620d3f63ead1df9b4ad741af2c28cd237ca4c933 # Parent 8b50da907602fbbc2f969520b49ff8c2871d0067 keep generic archive for all platforms -- required for Admin/Release/build_library; diff -r 8b50da907602 -r 620d3f63ead1 Admin/lib/Tools/makedist_bundle --- a/Admin/lib/Tools/makedist_bundle Fri Jan 01 19:42:48 2016 +0100 +++ b/Admin/lib/Tools/makedist_bundle Fri Jan 01 19:52:00 2016 +0100 @@ -326,6 +326,14 @@ esac +# archive + +BUNDLE_ARCHIVE="${ARCHIVE_DIR}/${ISABELLE_NAME}_${PLATFORM_FAMILY}.tar.gz" + +echo "packaging $(basename "$BUNDLE_ARCHIVE")" +tar -C "$TMP" -c -z -f "$BUNDLE_ARCHIVE" "$ISABELLE_NAME" || exit 2 + + # platform-specific setup (outside archive) if [ "$ISABELLE_PLATFORM_FAMILY" = linux -a "$PLATFORM_FAMILY" != macos -o "$ISABELLE_PLATFORM_FAMILY" = macos ] @@ -333,7 +341,7 @@ case "$PLATFORM_FAM" in linux) echo "application for $PLATFORM_FAMILY" - tar -C "$TMP" -c -z -f "${ARCHIVE_DIR}/${ISABELLE_NAME}_app.tar.gz" "$ISABELLE_NAME" + mv "$BUNDLE_ARCHIVE" "${ARCHIVE_DIR}/${ISABELLE_NAME}_app.tar.gz" ;; macos) echo "application for $PLATFORM_FAMILY"