dispose intermediate 7z archive;
authorwenzelm
Tue, 16 Jul 2013 13:44:52 +0200
changeset 52674 563b7c8279f9
parent 52673 edf3747b9862
child 52675 f3a6b1d0915e
dispose intermediate 7z archive;
Admin/lib/Tools/makedist_bundle
--- a/Admin/lib/Tools/makedist_bundle	Tue Jul 16 13:27:01 2013 +0200
+++ b/Admin/lib/Tools/makedist_bundle	Tue Jul 16 13:44:52 2013 +0200
@@ -182,14 +182,14 @@
     (
       cd "$TMP"
       rm -f "${ARCHIVE_DIR}/${ISABELLE_NAME}.7z"
-      7z -y -bd a "${ARCHIVE_DIR}/${ISABELLE_NAME}.7z" "$ISABELLE_NAME" || exit 2
+      7z -y -bd a "$TMP/${ISABELLE_NAME}.7z" "$ISABELLE_NAME" || exit 2
 
       echo "application for $PLATFORM_FAMILY"
       (
         cat "windows_app/7zsd_All.sfx"
         cat "$ISABELLE_HOME/Admin/Windows/Installer/sfx.txt" | \
           perl -p -e "s,{ISABELLE_NAME},${ISABELLE_NAME},g;"
-        cat "${ARCHIVE_DIR}/${ISABELLE_NAME}.7z"
+        cat "$TMP/${ISABELLE_NAME}.7z"
       ) > "${ARCHIVE_DIR}/${ISABELLE_NAME}.exe"
       chmod +x "${ARCHIVE_DIR}/${ISABELLE_NAME}.exe"
     )