Changes in / [0ca4976:77783e3] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • create_tarball.sh

    ra2e9de4 ra816416  
    22
    33#define version number
    4 
    5 githash=$(git rev-parse --short --verify HEAD)
    6 
    7 
    8 version=10.3beta5_$githash
     4version=10.3beta5
    95
    106# define tarball name
    117targetdir=../flexpart_distribution/
    128tarball_tmp=${targetdir}flexpart_v$version
    13 #tarball=${targetdir}flexpart_v$version.tar
    14 tarball=${tarball_tmp}.tar
    159
    1610# clean old package
    1711if [ -d $tarball_tmp ]; then
    18   echo $tarball_tmp exists: move to $tarball_tmp.bk and exit 
    19   mkdir $tarball_tmp.bk
    20   mv $tarball_tmp ${tarball_tmp}.bk/
    21   mv $tarball ${tarball_tmp}.bk/
     12  echo $tarball_tmp exists: move to $tarball_tmp.bk   
     13  mv $tarball_tmp ${tarball_tmp}.bk
    2214  exit
    2315fi
     
    8779#cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_extract/
    8880## cp -r flex_extract/work/EA* $tarball_tmp/preprocess/flex_extract/work   
    89 
    90 echo include flex_extract v7.0.4 b7c1c04a204c91e53759ef590504bf52dfaece64
    91 flex_extract=../flex_extract_v7.0.4/
    92 cp $flex_extract/README.md $tarball_tmp/preprocess/flex_extract
    93 cp -r $flex_extract/docs $tarball_tmp/preprocess/flex_extract
    94 cp -r $flex_extract/grib_templates $tarball_tmp/preprocess/flex_extract
    95 cp -r $flex_extract/python $tarball_tmp/preprocess/flex_extract
    96 cp -r $flex_extract/src $tarball_tmp/preprocess/flex_extract
    97 
    9881
    9982
     
    192175# cp -r tests/default_cases $tarball_tmp/tests/
    193176
    194 tar cvf  $tarball  $tarball_tmp 
    195177
    196 echo  $tarball complete
    197 echo exported untarred files in $tarball_tmp
    198178exit
    199179#return
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG