2023-01-31 08:47:50 +04:00
|
|
|
#!/bin/bash
|
2023-01-31 09:52:15 +04:00
|
|
|
|
|
|
|
# Modified: 29/03/2020
|
|
|
|
# P Anelli"
|
|
|
|
# Session 3
|
|
|
|
|
2023-01-31 08:47:50 +04:00
|
|
|
source ${LIBSH}/libeval.sh
|
|
|
|
|
2023-01-31 09:52:15 +04:00
|
|
|
#-----------------------------------------
|
|
|
|
challenge="C32 & C33"
|
|
|
|
rep=/home/alice/Sequence3/imdb
|
|
|
|
#-----------------------------------------
|
|
|
|
# Debut
|
|
|
|
banniere $challenge
|
2023-01-31 08:47:50 +04:00
|
|
|
|
2023-01-31 09:52:15 +04:00
|
|
|
# 1
|
|
|
|
[ "$rep" == $(pwd) ]
|
|
|
|
step $(vraifaux $?) "Le répertoire courant est $rep" true
|
2023-01-31 08:47:50 +04:00
|
|
|
|
2023-01-31 09:52:15 +04:00
|
|
|
echo "*** Analyse du resultat ***"
|
|
|
|
#-----------------------------------------
|
|
|
|
# Fin
|
|
|
|
status "$(cat <&0)"
|
|
|
|
exit 0
|