pandorafms/extras/build_windows_agent.sh

16 lines
365 B
Bash
Raw Normal View History

#!/bin/bash
source build_vars.sh
if [ ! -d $RPMHOME/EXE ]; then
mkdir -p $RPMHOME/EXE || exit 1
fi
echo "Creating Pandora FMS Agent Windows installer in $RPMHOME/EXE"
# Windows agent
rm -rf $CODEHOME/pandora_agents/win32/installer/output/*.exe
cd $CODEHOME/pandora_agents/win32
./build.sh
cp $CODEHOME/pandora_agents/win32/installer/output/*.exe $RPMHOME/EXE/