mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-13 04:58:38 +02:00
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
27 lines
683 B
Bash
Executable File
27 lines
683 B
Bash
Executable File
#!/bin/bash
|
|
source build_vars.sh
|
|
|
|
if [ ! -d $RPMHOME/RPMS ]; then
|
|
mkdir -p $RPMHOME/RPMS || exit 1
|
|
fi
|
|
|
|
echo "Creating RPM packages in $RPMHOME/RPMS"
|
|
|
|
# Console
|
|
rpmbuild -ba $CODEHOME/pandora_console/pandora_console.redhat.spec || exit 1
|
|
|
|
# Server
|
|
rpmbuild -ba $CODEHOME/pandora_server/pandora_server.redhat.spec || exit 1
|
|
|
|
# Unix agent
|
|
rpmbuild -ba $CODEHOME/pandora_agents/unix/pandora_agent.redhat.spec || exit 1
|
|
|
|
# Enterprise console
|
|
rpmbuild -ba $PANDHOME_ENT/pandora_console/enterprise/pandora_console_enterprise.redhat.spec || exit 1
|
|
|
|
# Enterprise server
|
|
rpmbuild -ba $PANDHOME_ENT/pandora_server/PandoraFMS-Enterprise/pandora_server_enterprise.redhat.spec || exit 1
|
|
|
|
exit 0
|
|
|