16 lines
365 B
Bash
Executable File
16 lines
365 B
Bash
Executable File
#!/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/
|
|
|