diff options
Diffstat (limited to 'build/server-bin.sh')
-rwxr-xr-x | build/server-bin.sh | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/build/server-bin.sh b/build/server-bin.sh index f377ff1..160b7e3 100755 --- a/build/server-bin.sh +++ b/build/server-bin.sh @@ -5,9 +5,21 @@ make clean ./build.sh static if [[ $? == 0 ]]; then - cp char-server ../server-bin - cp login-server ../server-bin - cp map-server ../server-bin + cp -f char-server ../server-bin + cp -f login-server ../server-bin + cp -f map-server ../server-bin +else + echo Build failed + exit 1 +fi + +cd src/evol +make clean +./build.sh + +if [[ $? == 0 ]]; then + mkdir ../../../server-local/plugins + cp -f build/src/.libs/*.so ../../../server-local/plugins echo Build success else echo Build failed |