/[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.11.2.12 by edhill, Sat Oct 4 14:21:58 2003 UTC revision 1.11.2.13 by edhill, Wed Oct 8 05:58:50 2003 UTC
# Line 49  expand_pkg_groups() { Line 49  expand_pkg_groups() {
49          cat ./p1.tmp | awk '(NF>2 && $2==":"){ print $0 }' > ./p2.tmp          cat ./p1.tmp | awk '(NF>2 && $2==":"){ print $0 }' > ./p2.tmp
50          matched=0          matched=0
51          for i in $PACKAGES ; do          for i in $PACKAGES ; do
52              line=`grep $i ./p2.tmp`              line=`grep "^ *$i" ./p2.tmp`
53              RETVAL=$?              RETVAL=$?
54              if test "x$RETVAL" = x0 ; then              if test "x$RETVAL" = x0 ; then
55                  matched=1                  matched=1
# Line 497  for ac_option ; do Line 497  for ac_option ; do
497            
498  done  done
499    
500    if test -f ./.genmakerc ; then
501        echo
502        echo "WARNING: genmake2 has detected a copy of the old-style \"./.genmakerc\""
503        echo "  file.  This file format is no longer supported.  Please see:"
504        echo
505        echo "    http://mitgcm.org/devel_HOWTO/"
506        echo
507        echo "  for directions on how to setup and use the new \"genmake2\" input"
508        echo "  files and send an email to MITgcm-support@mitgcm.org if you want help."
509        echo
510    fi
511    
512  if test "x${ROOTDIR}" = x ; then  if test "x${ROOTDIR}" = x ; then
513      if test "${PWD##/*/}" = "bin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then      if test "${PWD##/*/}" = "bin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then
514          ROOTDIR=".."          ROOTDIR=".."

Legend:
Removed from v.1.11.2.12  
changed lines
  Added in v.1.11.2.13

  ViewVC Help
Powered by ViewVC 1.1.22