/[MITgcm]/MITgcm/verification/testscript
ViewVC logotype

Diff of /MITgcm/verification/testscript

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

revision 1.10 by adcroft, Fri Aug 10 16:49:51 2001 UTC revision 1.11 by adcroft, Fri Aug 10 18:18:52 2001 UTC
# Line 288  Normal usage: Line 288  Normal usage:
288  EOF  EOF
289  }  }
290    
291    scandirs()
292    {
293    if [ $# -eq 0 ]; then
294     for arg in *
295      do
296       test -d $arg/input && echo $arg
297     done
298    else
299     echo $*
300    fi
301    }
302    
303  ###############################################################################  ###############################################################################
304    
305  # Main function  # Main function
# Line 315  do Line 327  do
327   esac   esac
328  done  done
329    
330  if [ ${#expts} -eq 0 ]; then  #if [ ${#expts} -eq 0 ]; then
331   echo Scanning all directories  # echo Scanning all directories
332   for arg in *  # for arg in *
333    do  #  do
334     test -d $arg && expts=`echo $expts $arg`  #   test -d $arg && expts=`echo $expts $arg`
335   done  # done
336  fi  #fi
337    expts=`scandirs $expts`
338    
339  createcodelet  createcodelet
340    

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

  ViewVC Help
Powered by ViewVC 1.1.22