mirror of https://github.com/01-edu/public.git
fix(devops): fix permission denied error
give execution permission to student files to prevent permission denied on execution
This commit is contained in:
parent
e3ab75f892
commit
de9d5caeb7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue