1 #!/usr/bin/expect -f |
1 #!/usr/bin/expect -f |
2 #====================================================================== |
2 #====================================================================== |
3 # A B O R T 2 |
3 # A B O R T 2 |
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:04 2008 |
5 # dlm: Thu Aug 26 00:25:52 2010 |
6 # (c) 2004 A.M. Thurnherr |
6 # (c) 2004 A.M. Thurnherr |
7 # uE-Info: 13 0 NIL 0 0 72 2 2 8 NIL ofnI |
7 # uE-Info: 22 39 NIL 0 0 72 2 2 8 NIL ofnI |
8 #====================================================================== |
8 #====================================================================== |
9 |
9 |
10 # HISTORY: |
10 # HISTORY: |
11 # Jun 19, 2004: - adapted from [endladcp2] |
11 # Jun 19, 2004: - adapted from [endladcp2] |
12 # Nov 19, 2008: - added version |
12 # Nov 19, 2008: - added version |
|
13 # Aug 25, 2010: - DEFAULTS.expect -> CRUISE_SETUP.expect |
|
14 # - libBB.expect -> libRDI.expect |
13 |
15 |
14 #---------------------------------------------------------------------- |
16 #---------------------------------------------------------------------- |
15 # Setup |
17 # Setup |
16 #---------------------------------------------------------------------- |
18 #---------------------------------------------------------------------- |
17 |
19 |
18 log_user 0; |
20 log_user 0; |
19 source DEFAULTS.expect; |
21 source CRUISE_SETUP.expect; |
20 regsub {dir1} [exec which dir1] {libBB.expect} path; |
22 regsub {dir1} [exec which dir1] {libRDI.expect} path; |
21 source $path; |
23 source $path; |
22 |
24 |
23 print_version; |
25 print_version; |
24 |
26 |
25 if ![file isdirectory $raw_dir] { |
27 if ![file isdirectory $raw_dir] { |