-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·36 lines (26 loc) · 791 Bytes
/
build.sh
File metadata and controls
executable file
·36 lines (26 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
CONFIGPATH=./config
OPNSIMPATH=../bin
echo "=========================="
echo "DTL/NSL_CURRENCY"
echo "=========================="
rm -f bin/*
yes | mono ../bin/Prebuild.exe /clean
./runprebuild.sh
xbuild
echo
cp bin/OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll $OPNSIMPATH
cp bin/OpenSim.Modules.Currency.dll $OPNSIMPATH
cp bin/MoneyServer.exe $OPNSIMPATH
rm -f $OPNSIMPATH/OpenSim.Forge.Currency.dll
if [ ! -f $OPNSIMPATH/MoneyServer.ini ]; then
cp $CONFIGPATH/MoneyServer.ini $OPNSIMPATH
else
cp $CONFIGPATH/MoneyServer.ini $OPNSIMPATH/MoneyServer.ini.example
fi
if [ ! -f $OPNSIMPATH/MoneyServer.exe.config ]; then
cp $CONFIGPATH/MoneyServer.exe.config $OPNSIMPATH
fi
if [ ! -f $OPNSIMPATH/SineWaveCert.pfx ]; then
cp $CONFIGPATH/SineWaveCert.pfx $OPNSIMPATH
fi