diff --git a/src/beesh.sh.in b/src/beesh.sh.in index 8f3ab73..ade8eca 100644 --- a/src/beesh.sh.in +++ b/src/beesh.sh.in @@ -626,7 +626,8 @@ function bee_pkg_pack() { print_info " -> creating package ${pkgname} .." print_info "${COLOR_CYAN}${pkgfile}" - tar cjvvf ${pkgfile} \ + rm -f ${pkgfile}.tmp + tar cjvvf ${pkgfile}.tmp \ --transform="s,${D},," \ --show-transformed-names \ --sparse \ @@ -643,6 +644,8 @@ function bee_pkg_pack() { --prepend="${D}" \ ${D}/CONTENT ) + mv ${pkgfile}.tmp ${pkgfile} + beefilename=${BEE##*/} beefiledest=${BEE_BEEDIR}/${PKGFULLPKG}.bee