Subversion Repositories wimsdev

Rev

Rev 3261 | Rev 3997 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3261 obado 1
 
2
#si le parametre qexo contient un caractere special, on abandonne
3
qexo=!translate internal ./,;?* to $             $ in $qexo
4
!if $ $ isin $qexo
5
 qexo=
6
!endif
7
 
8
!if $qexo=$empty
9
 error=undefined qexo
10
 !exit
11
!endif
12
 
13
!read scripts/check.class
14
!if $error!=$empty
15
 !exit
16
!endif
17
 
18
fname=log/classes/$qclass/src/$qexo.oef
19
 
20
 
21
file_not_exist=No such file or directory
22
 
23
test=!sh cd $wims_home/log/classes/$qclass/src\
24
	ls $qexo.oef
25
 
26
 
27
!if $qexo.oef notin $test
3996 obado 28
error=Sorry, this excercice '$qexo' does not exists in your class ! Cet exercice est introuvable dans votre classe.
3261 obado 29
 !exit
30
!endif