29 lines
520 B
Plaintext
29 lines
520 B
Plaintext
|
#!/bin/bash
|
||
|
#xcrypted
|
||
|
# Modified: 27/03/2020
|
||
|
# P Anelli"
|
||
|
# Session 3
|
||
|
|
||
|
source ${LIBSH}/libeval.sh
|
||
|
|
||
|
#-----------------------------------------
|
||
|
challenge=C13Q3
|
||
|
rep=/~/Sequence1/A13/LettresBob
|
||
|
fichier=declaration.txt
|
||
|
#-----------------------------------------
|
||
|
# Debut
|
||
|
banniere $challenge
|
||
|
|
||
|
# 1
|
||
|
[ $(pwd) == "$rep" ]
|
||
|
step $(vraifaux $?) "Le repertoire courant est $rep"
|
||
|
|
||
|
# 2
|
||
|
[ -e $fichier ]
|
||
|
step $(vraifaux $?) "Le fichier $fichier existe"
|
||
|
#-----------------------------------------
|
||
|
# Fin
|
||
|
status "${challenge}_$res"
|
||
|
exit 0
|
||
|
|