1405 |
# Find the MITgcm ${THISVER} |
# Find the MITgcm ${THISVER} |
1406 |
version_file="${ROOTDIR}/doc/tag-index" |
version_file="${ROOTDIR}/doc/tag-index" |
1407 |
if test -f $version_file ; then |
if test -f $version_file ; then |
1408 |
THISVER=`grep '^checkpoint' $version_file | head -1` |
THISVER=`$AWK '/^checkpoint/{print $1; exit}' $version_file` |
1409 |
#- remove ./BUILD_INFO.h file if older than version_file |
#- remove ./BUILD_INFO.h file if older than version_file |
1410 |
if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then |
if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then |
1411 |
echo " remove ./BUILD_INFO.h (older than ${version_file})" |
echo " remove ./BUILD_INFO.h (older than ${version_file})" |