clockwerk-tools – Diff between revs 38 and 39
?pathlinks?
Rev 38 | Rev 39 | |||
---|---|---|---|---|
Line 45... | Line 45... | |||
45 | if [ ! -d clockwerk-opensim ]; then |
45 | if [ ! -d clockwerk-opensim ]; then |
|
46 | svn co http://svn.was.fm/clockwerk-opensim |
46 | svn co http://svn.was.fm/clockwerk-opensim |
|
47 | fi |
47 | fi |
|
48 | echo "[Clockwerk] Updating sources..." |
48 | echo "[Clockwerk] Updating sources..." |
|
49 | cd clockwerk-opensim |
49 | cd clockwerk-opensim |
|
50 | ./runprebuild.sh clean |
50 | yes | ./runprebuild.sh clean |
|
51 | svn revert --recursive . |
51 | svn revert --recursive . |
|
52 | svn status | grep "^\?" | awk '{print $2}' | xargs rm -rf - |
52 | svn status | grep "^\?" | grep -v "." | awk '{print $2}' | xargs rm -rf - |
|
- | 53 | svn status | grep "^\!" | grep -v "." | awk '{print $2}' | xargs rm -rf - |
||
53 | svn update --accept base |
54 | svn update --accept base |
|
54 | dialog --yesno "By selecting yes here, the OpenSim sources will be updated from the development repository, compiled and added to the current OpenSim working directory. Selecting yes here will not affect any modifications you may have done to OpenSim's ini files. Upgrade the OpenSim binaries to the lastest development version?" 10 70 |
55 | dialog --yesno "By selecting yes here, the OpenSim sources will be updated from the development repository, compiled and added to the current OpenSim working directory. Selecting yes here will not affect any modifications you may have done to OpenSim's ini files. Upgrade the OpenSim binaries to the lastest development version?" 10 70 |
|
55 | if [ $? == "0" ]; then |
56 | if [ $? == "0" ]; then |
|
56 | echo "[Clockwerk] Cleaning..." |
57 | echo "[Clockwerk] Cleaning..." |
|
57 | ./runprebuild.sh clean |
58 | yes | ./runprebuild.sh clean |
|
58 | echo "[Clockwerk] Prebuild..." |
59 | echo "[Clockwerk] Prebuild..." |
|
59 | ./runprebuild.sh |
60 | ./runprebuild.sh |
|
60 | echo "[Clockwerk] Build..." |
61 | echo "[Clockwerk] Build..." |
|
61 | nant |
62 | nant |
|
62 | if [ ! -d /srv/opensim ]; then |
63 | if [ ! -d /srv/opensim ]; then |