Changes in / [77783e3:0ca4976] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
create_tarball.sh
ra816416 ra2e9de4 2 2 3 3 #define version number 4 version=10.3beta5 4 5 githash=$(git rev-parse --short --verify HEAD) 6 7 8 version=10.3beta5_$githash 5 9 6 10 # define tarball name 7 11 targetdir=../flexpart_distribution/ 8 12 tarball_tmp=${targetdir}flexpart_v$version 13 #tarball=${targetdir}flexpart_v$version.tar 14 tarball=${tarball_tmp}.tar 9 15 10 16 # clean old package 11 17 if [ -d $tarball_tmp ]; then 12 echo $tarball_tmp exists: move to $tarball_tmp.bk 13 mv $tarball_tmp ${tarball_tmp}.bk 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/ 14 22 exit 15 23 fi … … 79 87 #cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_extract/ 80 88 ## 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 81 98 82 99 … … 175 192 # cp -r tests/default_cases $tarball_tmp/tests/ 176 193 177 194 tar cvf $tarball $tarball_tmp 195 196 echo $tarball complete 197 echo exported untarred files in $tarball_tmp 178 198 exit 179 199 #return
Note: See TracChangeset
for help on using the changeset viewer.