fix: PA5's Makefile needs same patch as PA4's
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Li BingMuyou 2023-05-07 22:27:20 +08:00 committed by GitHub
parent 3f4fdbd47f
commit f01fa6374e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,8 @@ RUN sed -i 's/-zx/-ozx/g' \
# d) be as non-invasive as possible to the existing assignment code
RUN patch -u /usr/class/assignments/PA2/cool.flex -i /tmp/build/cool.flex.patch \
&& patch -u /usr/class/assignments/PA3/cool.y -i /tmp/build/cool.y.patch \
&& patch -u /usr/class/assignments/PA4/Makefile -i /tmp/build/Makefile.patch
&& patch -u /usr/class/assignments/PA4/Makefile -i /tmp/build/Makefile.patch \
&& patch -u /usr/class/assignments/PA5/Makefile -i /tmp/build/Makefile.patch
# Setup working directory
RUN mkdir -p /class