File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ rm -rf /tmp/*
135135EOF
136136
137137# Fix the C++ dialect.
138- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ~/.conan2 /profiles/default
138+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
139139# Explicitly set the compiler flags.
140140RUN <<EOF
141141cat >> $(conan config home)/global.conf <<EOT
@@ -208,7 +208,7 @@ rm -rf /tmp/*
208208EOF
209209
210210# Fix the C++ dialect.
211- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ~/.conan2 /profiles/default
211+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
212212# Explicitly set the compiler flags. To ensure compatibility with a range of
213213# Clang compilers, we must also add extra flags that apply to certain versions
214214# of Clang.
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ rm -rf /tmp/*
9898EOF
9999
100100# Fix the C++ dialect.
101- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME} /profiles/default
101+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
102102# Explicitly set the compiler flags.
103103RUN <<EOF
104104cat >> $(conan config home)/global.conf <<EOT
@@ -180,7 +180,7 @@ rm -rf /tmp/*
180180EOF
181181
182182# Fix the C++ dialect.
183- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME} /profiles/default
183+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
184184# Explicitly set the compiler flags. To ensure compatibility with a range of
185185# Clang compilers, we must also add extra flags that apply to certain versions
186186# of Clang.
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ rm -rf /tmp/*
115115EOF
116116
117117# Fix the C++ dialect.
118- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ~/.conan2 /profiles/default
118+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
119119# Explicitly set the compiler flags.
120120RUN <<EOF
121121cat >> $(conan config home)/global.conf <<EOT
@@ -201,7 +201,7 @@ rm -rf /tmp/*
201201EOF
202202
203203# Fix the C++ dialect.
204- RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ~/.conan2 /profiles/default
204+ RUN sed -i -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' $(conan config home) /profiles/default
205205# Explicitly set the compiler flags. To ensure compatibility with a range of
206206# Clang compilers, we must also add extra flags that apply to certain versions
207207# of Clang.
You can’t perform that action at this time.
0 commit comments