Fixed build script

This commit is contained in:
WolverinDEV 2020-04-15 15:56:16 +02:00
parent b7cbf4b20a
commit 6d19526458

View File

@ -12,12 +12,19 @@ mkdir env && de env
echo "Failed to create the env"
exit 1
}
cp -r ../../../git-teaspeak/default_files/{certs,commanddocs,geoloc,resources,*.sh} .
cp -r ../../../git-teaspeak/default_files/{certs,commanddocs,geoloc,resources,,*.sh} .
[[ $? -ne 0 ]] && {
echo "Failed to copy env"
exit 1
}
cp ../../environment/TeaSpeakServer .
cp -r ../../../music/providers .
[[ $? -ne 0 ]] && {
echo "Failed to copy providers"
exit 1
}
#
cp ../../environment/TeaSpeakServer .
[[ $? -ne 0 ]] && {
echo "Failed to copy server"
exit 1