Rev 10235 | Rev 11174 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10235 | Rev 10237 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | exec imgindex |
41 | exec imgindex |
42 | !endif |
42 | !endif |
43 | !sh $src |
43 | !sh $src |
44 | !endif |
44 | !endif |
45 | !endif |
45 | !endif |
46 | 46 | success=no |
|
47 | !if $wims_deposit!=$empty and $wims_deposit!=noname.file \ |
47 | !if $wims_deposit!=$empty and $wims_deposit!=noname.file \ |
48 | and $bin_job=deposit and $bin_dir!=$empty \ |
48 | and $bin_job=deposit and $bin_dir!=$empty \ |
49 | and / notin $wims_deposit and .. notin $wims_deposit |
49 | and / notin $wims_deposit and .. notin $wims_deposit |
- | 50 | ||
50 | src=mkdir $devdir/$mod/$bin_dir\ |
51 | src=mkdir $devdir/$mod/$bin_dir\ |
51 | mv $wims_home/$wims_sesdir/user-deposit $devdir/$mod/$bin_dir/$wims_deposit |
52 | mv $wims_home/$wims_sesdir/user-deposit $devdir/$mod/$bin_dir/$wims_deposit |
52 | !if ../images/ isin ../$bin_dir/ |
53 | !if ../images/ isin ../$bin_dir/ |
53 | src=$src\ |
54 | src=$src\ |
54 | cd $devdir/$mod\ |
55 | cd $devdir/$mod\ |
55 | exec imgindex |
56 | exec imgindex |
56 | !endif |
57 | !endif |
57 | !sh $src |
58 | !sh $src |
- | 59 | success=yes |
|
58 | !endif |
60 | !endif |
59 | 61 | ||
60 | dirs=!items2words $dir |
62 | dirs=!items2words $dir |
61 | bfiles=!sh cd $devdir/$mod\ |
63 | bfiles=!sh cd $devdir/$mod\ |
62 | dd=`find $dirs -type f -name '*'| sort | uniq 2>/dev/null`\ |
64 | dd=`find $dirs -type f -name '*'| sort | uniq 2>/dev/null`\ |