From e2a39facdd6a9646a357f96876f9e1ef60f7818c Mon Sep 17 00:00:00 2001 From: Peter Willendrup Date: Fri, 12 Jan 2024 19:21:02 +0100 Subject: [PATCH] Correct sed cmd syntax --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3e3c504c..b9f81c6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,7 @@ RUN cd /opt/install && \ 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+g' ${MCSTAS_TOOLDIR}/Python/mccodelib/mccode_config.json && \ - sed -i 's+\$\{CONDA_PREFIX\}+/opt/conda+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 /opt/conda/bin/mcdoc -i