Last change
on this file since 4260 was
4154,
checked in by patrick, 20 years ago
|
orxonox/branches/md2_loader: updated the checkout file: now it includes also the model
|
-
Property svn:executable set to
*
|
File size:
972 bytes
|
Rev | Line | |
---|
[3997] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[4137] | 3 | #if [ -z "$1" ] |
---|
| 4 | #then |
---|
| 5 | # svn co https://svn.orxonox.ethz.ch/data data |
---|
| 6 | #else |
---|
| 7 | # svn co https://svn.orxonox.ethz.ch/data data --username $1 |
---|
| 8 | #fi |
---|
| 9 | |
---|
| 10 | if [ "$1" = "md2_loader" ] |
---|
[3997] | 11 | then |
---|
[4137] | 12 | echo "COOL" |
---|
| 13 | fi |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | case "$1" in |
---|
| 17 | |
---|
| 18 | # md2_loader branche specific stuff |
---|
| 19 | "md2_loader" | "md2" ) |
---|
| 20 | echo "(II) md2_loader branche specific data is been loaded" |
---|
| 21 | echo "(II) this just works on linux and on mac OS X" |
---|
| 22 | echo |
---|
| 23 | |
---|
| 24 | if [ -e data ] |
---|
| 25 | then |
---|
[4154] | 26 | wget http://www.orxonox.ethz.ch/files/data_additions/md2_loader/md2_loader_pack.tar.bz2 |
---|
| 27 | mv md2_loader_pack.tar.bz2 data/ |
---|
[4137] | 28 | cd data |
---|
[4154] | 29 | tar -jxf md2_loader_pack.tar.bz2 |
---|
| 30 | rm md2_loader_pack.tar.bz2 |
---|
[4137] | 31 | cd .. |
---|
| 32 | echo |
---|
| 33 | echo "(II) Update finished successfully!" |
---|
| 34 | else |
---|
| 35 | echo |
---|
| 36 | echo "(EE) there is no data directory here" |
---|
| 37 | fi |
---|
| 38 | ;; |
---|
| 39 | |
---|
| 40 | # default case |
---|
| 41 | * ) |
---|
| 42 | if [ -z "$1" ] |
---|
| 43 | then |
---|
[3997] | 44 | svn co https://svn.orxonox.ethz.ch/data data |
---|
[4137] | 45 | else |
---|
[3997] | 46 | svn co https://svn.orxonox.ethz.ch/data data --username $1 |
---|
[4137] | 47 | fi |
---|
| 48 | ;; |
---|
| 49 | |
---|
| 50 | esac |
---|
| 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.