Commit 0a6732ca authored by Lucas Carvalho's avatar Lucas Carvalho

cleanup a bit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34076 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 327fdf41
......@@ -45,9 +45,9 @@ rpm-appliance:
# just make and wait...
cd rpmgen; make
# now we have the erp5 software rpm and we need it installed to build tiolive application rpm
if test -d /home/`whoami`/rpmbuild/RPMS/x86_64; \
then find /home/`whoami`/rpmbuild/RPMS/x86_64/ -name erp5-`cat VERSION.txt`* -print0 | xargs -0 sudo urpmi; \
else find /home/`whoami`/rpmbuild/RPMS/i586/ -name erp5-`cat VERSION.txt`* -print0 | xargs -0 sudo urpmi; \
if test -d ~/rpmbuild/RPMS/x86_64; \
then find ~/rpmbuild/RPMS/x86_64/ -name erp5-`cat VERSION.txt`*.rpm -print0 | xargs -0 sudo urpmi; \
else find ~/rpmbuild/RPMS/i586/ -name erp5-`cat VERSION.txt`*.rpm -print0 | xargs -0 sudo urpmi; \
fi
# building tiolive appliance
sudo rpmbuild -bb rpmgen/spec/tiolive-application-buildout-mandriva2010.spec
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