/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

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

revision 1.103 by edhill, Mon Oct 4 19:00:42 2004 UTC revision 1.104 by edhill, Tue Oct 5 16:10:31 2004 UTC
# Line 1345  if test ! -d ${TOOLSDIR} ; then Line 1345  if test ! -d ${TOOLSDIR} ; then
1345      exit 1      exit 1
1346  fi  fi
1347  if test "x$S64" = x ; then  if test "x$S64" = x ; then
1348      S64='$(TOOLSDIR)/set64bitConst.sh'      echo "3.0 _d 3" | ${TOOLSDIR}/set64bitConst.sh > /dev/null 2>&1
1349        RETVAL=$?
1350        if test "x${RETVAL}" = x0 ; then
1351            S64='$(TOOLSDIR)/set64bitConst.sh'
1352        else
1353            echo "3.0 _d 3" | ${TOOLSDIR}/set64bitConst.csh > /dev/null 2>&1
1354            RETVAL=$?
1355            if test "x${RETVAL}" = x0 ; then
1356                S64='$(TOOLSDIR)/set64bitConst.csh'
1357            else
1358                cat <<EOF
1359    
1360    ERROR: neither of the two default scripts:
1361    
1362        ${TOOLSDIR}/set64bitConst.sh
1363        ${TOOLSDIR}/set64bitConst.csh
1364    
1365      are working so please check paths or specify (with \$S64) a
1366      working version of this script.
1367    
1368    EOF
1369                exit 1
1370            fi
1371        fi
1372  fi  fi
1373  THIS_SCRIPT=`echo ${0} | sed 's:'$TOOLSDIR':\$(TOOLSDIR):'`  THIS_SCRIPT=`echo ${0} | sed 's:'$TOOLSDIR':\$(TOOLSDIR):'`
1374    

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

  ViewVC Help
Powered by ViewVC 1.1.22