mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-25 13:56:38 +02:00
13 lines
452 B
Bash
Executable File
13 lines
452 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
|