Skip to content

Commit

Permalink
Add missing escapes for spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Jan 14, 2024
1 parent 5095eb7 commit c919657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN cd /opt/install && \
export MCSTAS_TOOLDIR=`mcrun --showcfg=tooldir` && \
sed -i 's+MCSTAS_BINDIR+'"${MCSTAS_BINDIR}"'+g' McStasScript/configuration.yaml && \
sed -i 's+MCSTAS_COMPDIR+'"${MCSTAS_COMPDIR}"'+g' McStasScript/configuration.yaml && \
sed -i 's+NeXus+NeXus\ -L/opt/conda/lib\ -I/opt/conda/include/nexus\ -Wl,-rpath,/opt/conda/lib -lhdf5 -lz -lsz -lcrypto -lcurl+g' ${MCSTAS_TOOLDIR}/Python/mccodelib/mccode_config.json && \
sed -i 's+NeXus+NeXus\ -L/opt/conda/lib\ -I/opt/conda/include/nexus\ -Wl,-rpath,/opt/conda/lib\ -lhdf5\ -lz\ -lsz\ -lcrypto\ -lcurl+g' ${MCSTAS_TOOLDIR}/Python/mccodelib/mccode_config.json && \
sed -i 's+\$\{CONDA_PREFIX\}+/opt/conda+g' ${MCSTAS_TOOLDIR}/Python/mccodelib/mccode_config.json && \
find /opt/conda/lib -type d -name mcstasscript -exec cp McStasScript/configuration.yaml \{\} \; && \
# Run mcdoc, installed via conda
Expand Down

0 comments on commit c919657

Please sign in to comment.