Browse Source

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

user/amery/next/luajit
Christian Wiese 13 years ago
committed by Christian Wiese
parent
commit
b63bdf60ba
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      java/jboss-as/jboss-as.conf

+ 5
- 1
java/jboss-as/jboss-as.conf

@ -29,6 +29,10 @@ prefix=opt/jboss
# install jboss # install jboss
jboss_install() { jboss_install() {
mkdir -p $root/$prefix 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 hook_add postmake 5 jboss_install

Loading…
Cancel
Save