| 1 | #!/usr/local/bin/webwork-perl |
1 | #!/usr/local/bin/webwork-perl |
| 2 | |
2 | |
| 3 | ## $Id$ |
3 | ## $Id$ |
| 4 | |
4 | |
|
|
5 | BEGIN { |
|
|
6 | my $useLibDir = '.'; |
|
|
7 | if ($0 =~ m|^(/.*)/|) { $useLibDir = $1; } |
|
|
8 | elsif ($0 =~ m|^(\..*)/|) { $useLibDir = $1; } |
|
|
9 | elsif ($0 =~ m|^(.+)/|) { $useLibDir = "./$1"; } |
|
|
10 | unshift @INC, $useLibDir; |
|
|
11 | } |
|
|
12 | |
| 5 | use lib '.'; use webworkInit; # WeBWorKInitLine |
13 | use webworkInit; # WeBWorKInitLine |
| 6 | use Global; |
14 | use Global; |
| 7 | |
15 | |
| 8 | # This file is recoverDataSet.pl |
16 | # This file is recoverDataSet.pl |
| 9 | |
17 | |
| 10 | ## Takes two command line arguments. The first is the course name. The second |
18 | ## Takes two command line arguments. The first is the course name. The second |