Skip to content

Commit

Permalink
Drop @@ templatin
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Jan 12, 2024
1 parent f8e3c75 commit efc5cba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ RUN cd /opt/install && \
# Configure McStasScript for use with installed McStas
export MCSTAS_BINDIR=`mcrun --showcfg=bindir` && \
export MCSTAS_COMPDIR=`mcrun --showcfg=resourcedir` && \
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+MCSTAS_BINDIR+'"${MCSTAS_BINDIR}"'+g' McStasScript/configuration.yaml && \
sed -i 's+MCSTAS_COMPDIR+'"${MCSTAS_COMPDIR}"'+g' McStasScript/configuration.yaml && \
find /opt/conda/lib -type d -name mcstasscript -exec cp McStasScript/configuration.yaml \{\} \; && \
# Run mcdoc, installed via conda
/opt/conda/bin/mcdoc -i
Expand Down
8 changes: 4 additions & 4 deletions McStasScript/configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
other:
characters_per_line: 85
paths:
mcrun_path: @MCSTAS_BINDIR@/
mcstas_path: @MCSTAS_COMPDIR@/
mcxtrace_path: @MCXTRACE_BINDIR@/
mxrun_path: @MCXTRACE_COMPDIR@/
mcrun_path: MCSTAS_BINDIR/
mcstas_path: MCSTAS_COMPDIR/
mcxtrace_path: MCXTRACE_BINDIR/
mxrun_path: MCXTRACE_COMPDIR/

0 comments on commit efc5cba

Please sign in to comment.