Adding suggestion from @shimwell

Co-authored-by: Jonathan Shimwell <jonathan.shimwell@ukaea.uk>
This commit is contained in:
Patrick Shriwise 2021-01-03 18:06:55 -06:00 committed by GitHub
parent bceb37345c
commit f5d3c16357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,7 @@ RUN git clone https://github.com/njoy/NJOY2016 /opt/NJOY2016 && \
# Clone and install OpenMC without DAGMC
RUN if [ "$include_dagmc" = "false" ] ; \
then git clone --recurse-submodules https://github.com/openmc-dev/openmc.git \
/opt/openmc ; \
then git clone --recurse-submodules https://github.com/openmc-dev/openmc.git /opt/openmc ; \
cd /opt/openmc ; \
mkdir -p build ; \
cd build ; \