Browse Source

jboss-as: changed custom install function to create an intermediate tar archive

user/amery/next/luajit
Christian Wiese 14 years ago committed by Christian Wiese
parent
commit
b63bdf60ba
  1. 6
      java/jboss-as/jboss-as.conf

6
java/jboss-as/jboss-as.conf

@ -29,6 +29,10 @@ prefix=opt/jboss
# install jboss
jboss_install() {
mkdir -p $root/$prefix
tar -c * | tar -x -C $root/$prefix
# creating an intermediate tar archive and extracting it
# afterwards seems to be more fl_wrapper safe
local tarfile="../jboss-$ver-install.tar"
tar -cpf $tarfile .
tar -xpf $tarfile -C $root/$prefix
}
hook_add postmake 5 jboss_install

Loading…
Cancel
Save