Rev 3706 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3706 | Rev 12490 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | !if $catmodule!=$empty |
4 | !if $catmodule!=$empty |
5 | wims_exec_error= |
5 | wims_exec_error= |
6 | success= |
6 | success= |
7 | !sh cp -r $wims_home/log/classes/$wims_class/doc/$doc/* $mod_dir/$wims_developer/$catmodule/doc/1/ ;\ |
7 | !sh cp -r $wims_home/log/classes/$wims_class/doc/$doc/* $mod_dir/$wims_developer/$catmodule/doc/1/ ;\ |
8 | cd $mod_dir/$wims_developer/$catmodule ; src2def |
8 | cd $mod_dir/$wims_developer/$catmodule ; src2def |
9 | !if $wims_exec_error=$empty |
9 | !if $wims_exec_error=$empty |
10 | transfer=done |
10 | transfer=done |
11 | !else |
11 | !else |
12 | transfer=fail |
12 | transfer=fail |
13 | !endif |
13 | !endif |
14 | !endif |
14 | !endif |
15 | !else |
15 | !else |
16 |
|
16 | !reset file_name_src |
17 |
|
17 | list_mod=!sh ls $wims_home/public_html/modules/devel/$wims_developer |
18 |
|
18 | list_mod=!words2items $list_mod |
19 |
|
19 | list_mod_doc= |
20 |
|
20 | !for a in $list_mod |
21 |
|
21 | category = !module category devel/$wims_developer/$a |
22 | !if document isin $category |
22 | !if document isin $category |
23 |
|
23 | list_mod_doc=!append item $a to $list_mod_doc |
24 | !endif |
24 | !endif |
25 |
|
25 | !next |
26 |
|
26 | !if $list_mod_doc=$empty |
27 |
|
27 | error = $error docempty |
28 |
|
28 | !endif |
29 | !endif |
29 | !endif |