Changeset 1525


Ignore:
Timestamp:
08/04/09 08:08:45 (16 years ago)
Author:
Mathieu Morlighem
Message:

Added config file as an argument and SVN repository as a variable

Location:
issm/trunk/cron
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/configs/ice1_config

    r1524 r1525  
     1#SVN repository
     2REPOSITORY="http://s383-rhat/issm/svn/issm/trunk"
     3
    14#ISSM directory
    25ISSM_DIR="/Users/seroussi/Desktop/backup/svn/issm/trunk/cron/trunk"
  • issm/trunk/cron/configs/wilkes_config

    r1524 r1525  
     1#SVN repository
     2REPOSITORY="http://s383-rhat/issm/svn/issm/trunk"
     3
    14#ISSM directory
    25ISSM_DIR="/u/wilkes-r1b/morlighe/svn/issm/trunk/cron/trunk"
  • issm/trunk/cron/nightlyrun.sh

    r1524 r1525  
    44
    55#get configs
    6 CONFIG_FILE="configs/`hostname -s`_config"
    7 if [ -f $CONFIG_FILE ];
     6if [ $# -ne 1 ];
    87then
    9         echo "File $CONFIG_FILE not found. exiting..."
    10         exit
     8        CONFIG_FILE=$1;
    119else
    12         source $CONFIG_FILE
     10        echo "no config file specified. Exiting..."
    1311fi
    1412
     
    2422#Erase previous code and Fetch the new one
    2523rm -rf trunk
    26 svn checkout http://s383-rhat/issm/svn/issm/trunk
     24svn checkout $REPOSITORY
    2725
    2826#install ISSM
Note: See TracChangeset for help on using the changeset viewer.