Subversion Repositories wimsdev

Rev

Rev 10237 | Rev 11191 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10237 Rev 11174
Line 44... Line 44...
44
 !endif
44
 !endif
45
!endif
45
!endif
46
success=no
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 and & notin $wims_deposit
50
 
-
 
-
 
50
   wims_deposit=!nospace $wims_deposit
-
 
51
   wims_deposit=!deaccent $wims_deposit
51
 src=mkdir $devdir/$mod/$bin_dir\
52
   src=mkdir $devdir/$mod/$bin_dir\
52
   mv $wims_home/$wims_sesdir/user-deposit $devdir/$mod/$bin_dir/$wims_deposit
53
   mv $wims_home/$wims_sesdir/user-deposit $devdir/$mod/$bin_dir/$wims_deposit
53
 !if ../images/ isin ../$bin_dir/
54
   !if ../images/ isin ../$bin_dir/
54
  src=$src\
55
    src=$src\
55
   cd $devdir/$mod\
56
     cd $devdir/$mod\
56
   exec imgindex
57
     exec imgindex
57
 !endif
58
   !endif
58
 !sh $src
59
   !sh $src
59
 success=yes
60
   success=yes
60
!endif
61
!endif
61
 
62
 
62
dirs=!items2words $dir
63
dirs=!items2words $dir
63
bfiles=!sh cd $devdir/$mod\
64
bfiles=!sh cd $devdir/$mod\
64
	dd=`find $dirs -type f -name '*'| sort | uniq 2>/dev/null`\
65
	dd=`find $dirs -type f -name '*'| sort | uniq 2>/dev/null`\