opensim-tools – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 3... | Line 3... | |||
3 | ## Copyright (C) Wizardry and Steamworks 2012 - License: GNU GPLv3 ## |
3 | ## Copyright (C) Wizardry and Steamworks 2012 - License: GNU GPLv3 ## |
|
4 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
4 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
|
5 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
5 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
|
6 | ########################################################################### |
6 | ########################################################################### |
|
Line -... | Line 7... | |||
- | 7 | |
||
- | 8 | echo "[OpenSim] Updating tools..." |
||
7 | |
9 | svn update |
|
8 | pushd ./ |
10 | pushd ./ |
|
9 | cd ../opensim/ |
11 | cd ../opensim/ |
|
10 | echo "[OpenSim] Updating sources..." |
12 | echo "[OpenSim] Updating sources..." |
|
11 | /usr/bin/svn update |
13 | svn update |
|
12 | echo "[OpenSim] Cleaning..." |
14 | echo "[OpenSim] Cleaning..." |
|
13 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make clean |
15 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make clean |
|
14 | echo "[OpenSim] Build..." |
16 | echo "[OpenSim] Build..." |
|
15 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make |
17 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make |
|
Line 18... | Line 20... | |||
18 | find bin/ -name \*.ini -exec rm -rf '{}' \; |
20 | find bin/ -name \*.ini -exec rm -rf '{}' \; |
|
19 | find bin/ -name \*.config -exec rm -rf '{}' \; |
21 | find bin/ -name \*.config -exec rm -rf '{}' \; |
|
20 | cp -Ra bin/* /home/opensim/os/ |
22 | cp -Ra bin/* /home/opensim/os/ |
|
21 | echo "[OpenSim] Updating configuration..." |
23 | echo "[OpenSim] Updating configuration..." |
|
22 | cd ../opensim-config/ |
24 | cd ../opensim-config/ |
|
- | 25 | svn update |
||
23 | cp -Ra * /home/opensim/os/ |
26 | cp -Ra * /home/opensim/os/ |
|
24 | echo "[OpenSim] Changing ownership..." |
27 | echo "[OpenSim] Changing ownership..." |
|
25 | chown -R opensim:opensim /home/opensim/os/ |
28 | chown -R opensim:opensim /home/opensim/os/ |
|
26 | echo "[OpenSim] Restarting OpenSim." |
29 | echo "[OpenSim] Restarting OpenSim." |
|
27 | kill -s HUP `pidof mono` |
30 | kill -s HUP `pidof mono` |