le-proinfodata-installer: The le-proinfodata_*.deb now is generated in a temporary directory.

Signed-off-by: 's avatarEdileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
parent 511811b7
......@@ -32,8 +32,7 @@ case $1 in
;;
esac
# Gera o le-proinfodata.deb
./le-proinfodata-deb.sh
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
......@@ -46,11 +45,17 @@ echo "$VERSAO" > VERSAO
#cd ../
cp -r pacote $DIRTMP
cp le-proinfodata-deb.sh $DIRTMP
cp -r ../le-proinfodata $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
# Gera o le-proinfodata.deb
./le-proinfodata-deb.sh
find . -name ".svn" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
......@@ -61,5 +66,4 @@ cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
......@@ -24,7 +24,7 @@
PREFIX="$(dirname $(readlink -f $0))"
LEPIDDEST="${PREFIX}/pacote/etc/le-proinfodata-installer"
cd ../le-proinfodata
cd le-proinfodata
# Generate the debian package
if ! ./gerar.sh; then
printf "ERROR (3): problems while generating le-proinfodata deb.\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment