Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4137 in orxonox.OLD for orxonox/branches/md2_loader


Ignore:
Timestamp:
May 10, 2005, 1:30:12 AM (20 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: modified the checkout script, that you can now checkout the branche specific files by typing ./scripts/data.checkout md2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/scripts/data.checkout

    r3997 r4137  
    11#!/bin/bash
    22
    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
     10if [ "$1" = "md2_loader" ]
    411then
     12    echo "COOL"
     13fi
     14
     15
     16case "$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
    544    svn co https://svn.orxonox.ethz.ch/data data
    6 else
     45  else
    746    svn co https://svn.orxonox.ethz.ch/data data --username $1
    8 fi
     47  fi
     48  ;;
     49
     50esac
     51
Note: See TracChangeset for help on using the changeset viewer.