From ef1af2d08e3026f046e16698dea310bb01efc1fe Mon Sep 17 00:00:00 2001 From: Peter Willendrup Date: Sun, 14 Jan 2024 09:10:30 +0100 Subject: [PATCH] Don't quote the {} in sed var expansion --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c2badfe9..493fd93a 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\ -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 && \ + 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