Fix openclassroom path
All checks were successful
continuous-integration/drone/push Build is passing

Without trailing `/` wget seems to download everything beneath
`courses/Compilers` instead of `courses/Compilers/docs`.
This commit is contained in:
Armin Friedl 2021-01-03 23:08:58 +01:00
parent d4a9420bc7
commit a462235481

View file

@ -64,7 +64,7 @@ RUN mkdir -p /usr/class/handouts/cs143 \
# see also: http://openclassroom.stanford.edu/MainFolder/CoursePage.php?course=Compilers # see also: http://openclassroom.stanford.edu/MainFolder/CoursePage.php?course=Compilers
RUN mkdir -p /usr/class/handouts/openclassroom \ RUN mkdir -p /usr/class/handouts/openclassroom \
&& cd /usr/class/handouts/openclassroom \ && cd /usr/class/handouts/openclassroom \
&& wget -np -m http://openclassroom.stanford.edu/MainFolder/courses/Compilers/docs \ && wget -np -m http://openclassroom.stanford.edu/MainFolder/courses/Compilers/docs/ \
&& mv openclassroom.stanford.edu/MainFolder/courses/Compilers/docs/* . && rm -fR openclassroom.stanford.edu && mv openclassroom.stanford.edu/MainFolder/courses/Compilers/docs/* . && rm -fR openclassroom.stanford.edu
# Patch tar arguments in submission scripts # Patch tar arguments in submission scripts