Skip to content

Commit 203f950

Browse files
committed
Add support for ldc2.conf directories
1 parent b42e620 commit 203f950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/ldc/ldc-image-build-stage.containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ COPY --from=llvm-imported /opt/llvm/ /opt/llvm/
3030
{{# else: }}
3131
COPY --from=build-stage-{{ ($buildStageCounter - 1) }} /opt/ldc/ /opt/ldc-bootstrap/
3232
{{# endif }}
33-
RUN sed -i 's/\/opt\/ldc/\/opt\/ldc-bootstrap/g' /opt/ldc-bootstrap/etc/ldc2.conf
33+
RUN find /opt/ldc-bootstrap/etc/ldc2.conf -type f -exec sed -i 's/\/opt\/ldc/\/opt\/ldc-bootstrap/g' {} \;
3434
{{# endif }}
3535

3636
# Build and install LDC

0 commit comments

Comments
 (0)