Skip to content

Commit

Permalink
beesh: Create package in tmpfile and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Oct 21, 2013
1 parent 1a51691 commit 21a5925
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -643,6 +644,8 @@ function bee_pkg_pack() {
--prepend="${D}" \
${D}/CONTENT )

mv ${pkgfile}.tmp ${pkgfile}

beefilename=${BEE##*/}
beefiledest=${BEE_BEEDIR}/${PKGFULLPKG}.bee

Expand Down

0 comments on commit 21a5925

Please sign in to comment.