| 36 | version_file="daily_snapshot/MITgcm/doc/tag-index" | version_file="daily_snapshot/MITgcm/doc/tag-index" | 
| 37 | backupDir="other_checkpoints" | backupDir="other_checkpoints" | 
| 38 | if test -f $version_file ; then | if test -f $version_file ; then | 
| 39 | thischkpt=`grep '^checkpoint' $version_file | head -1` | thischkpt=`awk '/^checkpoint/{print $1; exit}' $version_file` | 
| 40 | short=`echo $thischkpt | sed 's/checkpoint/c/'` | short=`echo $thischkpt | sed 's/checkpoint/c/'` | 
| 41 | chkptar="MITgcm_$short" | chkptar="MITgcm_$short" | 
| 42 | if test -f $chkptar.tar.gz ; then | if test -f $chkptar.tar.gz ; then |