Rev 12616 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | parent=level |
||
3 | thiscode=$prog |
||
4 | proghome=$classdir1/$prog |
||
5 | !readdef $proghome/.def |
||
6 | other_description=!defof class_description in $classdir1/$shareprog/.def |
||
7 | l_=!translate / to , in $shareprog |
||
8 | other_level=!defof class_description in $classdir1/$(l_[1])/.def |
||
9 | |||
10 | !if $confirm!=yes or $other_level=$empty or $other_description=$empty or |
||
12616 | bpr | 11 | $class_description=$empty or $class_recshare!=$empty |
12 | !exit |
||
23 | reyssat | 13 | !endif |
14 | |||
15 | ready=!defof class_recshare in $classdir1/$shareprog/.def |
||
16 | !if $ready!=$empty and $ready!=main |
||
12616 | bpr | 17 | !exit |
23 | reyssat | 18 | !endif |
19 | |||
20 | !sh cd $classdir2/$prog\ |
||
16708 | guerimand | 21 | for f in def doc exams sheets src vote seq Exindex Extitles freeworks; do\ |
23 | reyssat | 22 | rm -fR $$f\ |
23 | ln -s ../../$shareprog/$$f .\ |
||
24 | done |
||
25 | |||
26 | !setdef !set class_recshare=$shareprog in $proghome/.def |
||
27 | !setdef !set class_recshare=main in $classdir1/$shareprog/.def |
||
28 | job=prog |
||
29 | confirm= |
||
30 | !changeto jobs/prog.proc |