Changeset 4137 in orxonox.OLD for orxonox/branches/md2_loader/scripts/data.checkout
- Timestamp:
- May 10, 2005, 1:30:12 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/scripts/data.checkout
r3997 r4137 1 1 #!/bin/bash 2 2 3 if [ -z "$1" ] 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" ] 4 11 then 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 26 wget http://www.orxonox.ethz.ch/files/data_additions/md2_loader/fonts.tar.bz2 27 mv fonts.tar.bz2 data/ 28 cd data 29 tar -jxf fonts.tar.bz2 30 rm fonts.tar.bz2 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 5 44 svn co https://svn.orxonox.ethz.ch/data data 6 else45 else 7 46 svn co https://svn.orxonox.ethz.ch/data data --username $1 8 fi 47 fi 48 ;; 49 50 esac 51
Note: See TracChangeset
for help on using the changeset viewer.