Subversion Repositories wimsdev

Rev

Rev 17681 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17681 Rev 17780
Line 2... Line 2...
2
 
2
 
3
!! ---- make symbolic link to data file if needed
3
!! ---- make symbolic link to data file if needed
-
 
4
!!
-
 
5
!! if wims_user=supervisor: the session dir contains
-
 
6
!!        getfile/freeworks with an "ln -s" $freework
-
 
7
!!                   pointing to $wims_class/freeworks/$freework
-
 
8
!!
-
 
9
!!        getfile/freeworksdata with an "ln -s" $freework
-
 
10
!!                   pointing to $wims_class/freeworksdata/$freework
-
 
11
!!
-
 
12
!! if wims_user!= supervisor: the session dir contains
-
 
13
!!        getfile/freeworskdata/$freework/work with an "ln -s" just
-
 
14
!!                   pointing to the user work
-
 
15
!!
-
 
16
!! this can create conflicts if a teacher in a groupment switches
-
 
17
!! from teacher to student (untested in portals): some cleaning might
-
 
18
!! be needed (cfr. var.proc)
-
 
19
!!
4
!if $type>1 and $activetest>0
20
!if $type>1 and $activetest>0
5
  !sh cd $wims_home/$wims_sesdir;\
21
  !sh cd $wims_home/$wims_sesdir;\
6
    mkdir -p getfile;\
22
    mkdir -p getfile;\
7
    cd getfile;\
23
    cd getfile;\
8
    mkdir -p freeworksdata;\
24
    mkdir -p freeworksdata;\