checkfiles1
changeset 4 fda11de1826e
parent 0 648bde652211
child 12 5e67754f6457
equal deleted inserted replaced
3:99a41e0476b1 4:fda11de1826e
     1 #!/usr/bin/expect -f
     1 #!/usr/bin/expect -f
     2 #======================================================================
     2 #======================================================================
     3 #                    C H E C K F I L E S 1 
     3 #                    C H E C K F I L E S 1 
     4 #                    doc: Wed Mar 10 22:23:52 2004
     4 #                    doc: Wed Mar 10 22:23:52 2004
     5 #                    dlm: Wed Nov 19 15:11:21 2008
     5 #                    dlm: Thu Aug 26 00:26:00 2010
     6 #                    (c) 2004 A.M. Thurnherr
     6 #                    (c) 2004 A.M. Thurnherr
     7 #                    uE-Info: 27 14 NIL 0 0 72 2 2 8 NIL ofnI
     7 #                    uE-Info: 26 39 NIL 0 0 72 2 2 8 NIL ofnI
     8 #======================================================================
     8 #======================================================================
     9 
     9 
    10 # HISTORY:
    10 # HISTORY:
    11 #  Jun 27, 2004: - adapted from [endladcp1] to allow continuation after
    11 #  Jun 27, 2004: - adapted from [endladcp1] to allow continuation after
    12 #		   download ok
    12 #		   download ok
    13 #  Feb 14, 2006: - BUG: no logging was done
    13 #  Feb 14, 2006: - BUG: no logging was done
    14 #  Oct  4, 2006: - adapted to older expect version
    14 #  Oct  4, 2006: - adapted to older expect version
    15 #  Oct 28, 2006: - adapted to older expect version
    15 #  Oct 28, 2006: - adapted to older expect version
    16 #  Nov 19, 2008: - added version
    16 #  Nov 19, 2008: - added version
       
    17 #  Aug 25, 2010: - DEFAULTS.expect -> CRUISE_SETUP.expect
       
    18 #		 - libBB.expect -> libRDI.expect
    17 
    19 
    18 #----------------------------------------------------------------------
    20 #----------------------------------------------------------------------
    19 # Setup
    21 # Setup
    20 #----------------------------------------------------------------------
    22 #----------------------------------------------------------------------
    21 
    23 
    22 log_user 0;
    24 log_user 0;
    23 source DEFAULTS.expect;
    25 source CRUISE_SETUP.expect;
    24 regsub {dir1} [exec which dir1] {libBB.expect} path;
    26 regsub {dir1} [exec which dir1] {libRDI.expect} path;
    25 source $path;
    27 source $path;
    26 
    28 
    27 print_version;
    29 print_version;
    28 
    30 
    29 if ![file isdirectory $raw_dir] {
    31 if ![file isdirectory $raw_dir] {