[system] / trunk / webwork / system / scripts / setTAPermissions.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/scripts/setTAPermissions.pl

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

Revision 69 Revision 70
3# ################################################################## 3# ##################################################################
4# Copyright @ 1995-1999 University of Rochester 4# Copyright @ 1995-1999 University of Rochester
5# All Rights Reserved 5# All Rights Reserved
6# ################################################################## 6# ##################################################################
7 7
8BEGIN {
9 my $useLibDir = '.';
10 if ($0 =~ m|^(/.*)/|) { $useLibDir = $1; }
11 elsif ($0 =~ m|^(\..*)/|) { $useLibDir = $1; }
12 elsif ($0 =~ m|^(.+)/|) { $useLibDir = "./$1"; }
13 unshift @INC, $useLibDir;
14}
15
8use lib '.'; use webworkInit; # WeBWorKInitLine 16use webworkInit; # WeBWorKInitLine
9 17
10## setTAPermissions.pl takes as arguments the coursename and TAs login_name 18## setTAPermissions.pl takes as arguments the coursename and TAs login_name
11## e.g. setTAPermissions.pl demoCourse jsmith 19## e.g. setTAPermissions.pl demoCourse jsmith
12 20
13## NOTE: this should only be run by the professor 21## NOTE: this should only be run by the professor

Legend:
Removed from v.69  
changed lines
  Added in v.70

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9