1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 15:36:37 +02:00
Files
unrealircd/src/buildmod
T

13 lines
451 B
Bash
Executable File

#!/bin/sh
echo Building all third party modules...
for x in *.c
do
if [ "$x" != "*.c" ]; then
x="`echo $x|sed 's/.c//'`"
if [ ! -f $x.so -o $x.c -nt $x.so ]; then
echo "Building 3rd party module $x..."
make custommodule MODULEFILE=$x || (echo "*****"; echo "Building 3rd party module $x failed."; echo "Contact the module author of the $x module (not the UnrealIRCd team), or simply delete the $PWD/$x.c file"; echo "*****"; exit 1)
fi
fi
done