Changeset 2619


Ignore:
Timestamp:
11/06/09 07:43:07 (16 years ago)
Author:
Mathieu Morlighem
Message:

updated archive.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/scripts/archive.sh

    r1 r2619  
    22#This bash routine  will create a tar file for the ISSM
    33#code. Just run the following command:
    4 
    5 #> source  ./archive.sh
    6 
    74
    85#Some local script functions
     
    129}
    1310
    14 #Main
    15 
    1611#Cleanup code
    1712cd $ISSM_DIR
    18 make -f MakefileIce clean
    1913make clean
    2014make distclean
    2115
    22 #Get rid of packages
    23 rm packages
    24 
    25 cd $ISSM_DIR/..
     16#Get rid of externalpackages
     17rm -rf externalpackages
    2618
    2719#Create tar file, with today's date in the title;
     20cd $ISSM_DIR/..
    2821today=`today_date`
    29 
    30 tar zcvf issm-1.0-$today.tar.gz  `basename $ISSM_DIR`
     22tar zcvf issm-3.0-$today.tar.gz  `basename $ISSM_DIR`
Note: See TracChangeset for help on using the changeset viewer.