Parent Directory
|
Revision Log
|
Revision Graph
|
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!' |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |