Rev 15910 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15910 | Rev 16090 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | !! remark: when activating/desactivating a single sheet, the script |
16 | !! remark: when activating/desactivating a single sheet, the script |
17 | !! rebuilds all the files for all the sheets (maybe we could only work on the modified sheet) |
17 | !! rebuilds all the files for all the sheets (maybe we could only work on the modified sheet) |
18 | 18 | ||
19 | !readproc adm/vfilter/listvarfilter.proc |
19 | !readproc adm/vfilter/listvarfilter.proc |
20 | scnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheets |
20 | scnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheets |
- | 21 | !if $max_sheets!=$empty |
|
- | 22 | scnt=$[min($scnt,$max_sheets)] |
|
- | 23 | !endif |
|
21 | !sh cd $wims_home/log/classes/$wims_class/sheets;\ |
24 | !sh cd $wims_home/log/classes/$wims_class/sheets;\ |
22 | rm -f .require .weight .vars .active;\ |
25 | rm -f .require .weight .vars .active;\ |
23 | touch .require .weight .vars .active; |
26 | touch .require .weight .vars .active; |
24 | 27 | ||
25 | !for s=1 to $scnt |
28 | !for s=1 to $scnt |