Skip to content

Commit

Permalink
bee-install: extract files into BEE_BEEDESTDIR, if it is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Dreyer committed Mar 21, 2012
1 parent 2c56602 commit 4ae4163
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bee-install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,12 @@ function do_install_file() {
vv="vv"
fi

if [ -n "${BEE_BEEDESTDIR}" ] ; then
changedir="--transform=s,^/,${BEE_BEEDESTDIR}/,"
fi

start_cmd tar -x --dereference -${vv}Pf ${file} \
${changedir} \
--transform="s,^FILES$,${BEE_METADIR}/${pkg}/FILES," \
--transform="s,^BUILD$,${BEE_METADIR}/${pkg}/${beefile}," \
--transform="s,^META$,${BEE_METADIR}/${pkg}/META," \
Expand Down

0 comments on commit 4ae4163

Please sign in to comment.