/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

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

revision 1.10 by edhill, Thu Oct 9 04:19:20 2003 UTC revision 1.11 by edhill, Fri Oct 10 03:29:44 2003 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  $Header$  #  $Header$
4    #  $Name$
5  #  #
6    
7  usage()  usage()
# Line 583  EOF Line 584  EOF
584    
585  NDIR=0  NDIR=0
586    
587    of_path=
588  if test "x$OPTFILE" != xNONE ; then  if test "x$OPTFILE" != xNONE ; then
589      if test -r $OPTFILE ; then      if test -r $OPTFILE ; then
590          OPTFILE=`pwd`"/$OPTFILE"          # get the path
591            path=${OPTFILE%/*}
592            if test "x$path" = x ; then
593                of_path=`pwd`
594            else
595                of_path=`( cd $path > /dev/null 2>&1 ; pwd )`
596            fi
597            file=${OPTFILE##*/}
598            OPTFILE=$of_path/$file
599        else
600            echo
601            echo "WARNING: can't read OPTFILE=\"$OPTFILE\" but will try to use it..."
602      fi      fi
603  fi  fi
604  echo  echo

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22