fix(devops): fix permission denied error

give execution permission to student files to prevent permission denied on execution
This commit is contained in:
Michele Sessa 2023-03-28 12:40:59 +01:00 committed by Michele
parent e3ab75f892
commit de9d5caeb7
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ cp -r /app .
cp -a student app cp -a student app
cd app cd app
chmod +x "./student/${EXERCISE}.sh"
if ! test -f "${EXERCISE}_test.sh"; then if ! test -f "${EXERCISE}_test.sh"; then
echo "No test file found for the exercise : $EXERCISE" echo "No test file found for the exercise : $EXERCISE"
exit 1 exit 1