|
|
@ -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 |