mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
13 lines
204 B
Bash
13 lines
204 B
Bash
#!/bin/sh
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: $0 [patch name]"
|
|
exit 1
|
|
fi
|
|
|
|
for ext in .cpp _limits.cpp .h _ops.h _limits.h _structs.h
|
|
do
|
|
cp template$ext $1$ext
|
|
perl -pi -e "s/TEMPLATE/$1/g" $1$ext
|
|
done
|