/[MITgcm]/mitgcm.org/scripts/mk_git_tarfile
ViewVC logotype

Diff of /mitgcm.org/scripts/mk_git_tarfile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by jmc, Thu Jan 18 19:22:17 2018 UTC revision 1.5 by jmc, Wed Jan 24 21:19:30 2018 UTC
# Line 37  rm -rf MITgcm_ss_* Line 37  rm -rf MITgcm_ss_*
37  arName='MITgcm_ss_'`date +%Y%m%d`'.tar'  arName='MITgcm_ss_'`date +%Y%m%d`'.tar'
38    
39  echo -n 'Creating the archive file ... '  echo -n 'Creating the archive file ... '
40  ( cd $code ; git archive -o ../$arName master )  ( cd $code ; git archive --prefix MITgcm/ -o ../$arName master )
41  gzip -9 $arName  gzip -9 $arName
42  #- should check if successful, it not -> exit 3  #- should check if successful, it not -> exit 3
43  echo 'Done!'  echo 'Done!'

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22