mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
20 lines
518 B
Bash
Executable file
20 lines
518 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd /azerothcore
|
|
|
|
bash acore.sh compiler build
|
|
|
|
echo "Generating confs..."
|
|
cp -n "env/docker/etc/worldserver.conf.dockerdist" "env/dist/etc/worldserver.conf"
|
|
cp -n "env/docker/etc/authserver.conf.dockerdist" "env/dist/etc/authserver.conf"
|
|
|
|
echo "Fixing EOL..."
|
|
# using -n (new file mode) should also fix the issue
|
|
# when the file is created with the default acore user but you
|
|
# set a different user into the docker configurations
|
|
for file in "env/dist/etc/"*
|
|
do
|
|
dos2unix -n $file $file
|
|
done
|
|
|
|
|