#!/bin/bash # # Copyright 2008 GroundWork Open Source, Inc. (“GroundWork”) # All rights reserved. This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License version 2 # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for # more details. # # You should have received a copy of the GNU General Public License along with # this program; if not, write to the Free Software Foundation, Inc., 51 Franklin # Street, Fifth Floor, Boston, MA 02110-1301, USA. # BASE=/home/nagios/groundwork-monitor BUILD_DIR=$BASE/build cd $BUILD_DIR . checkEnv.sh #BUILD foundation RPM cd $BASE/foundation #Have to build feeders to go around a dependency issue maven configure.unittest allClean allBuild cd $BASE/foundation/spec chmod +x buildRPM.sh . buildRPM.sh