Skip to content

Commit aa8d04a

Browse files
committed
tooling: Fix incorrect installation of Conan profiles
1 parent 6f06b12 commit aa8d04a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.setup

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ setup-conan:
8181
# Install cloe-debug and cloe-release profiles.
8282
for profile in "${PROJECT_ROOT}"/dist/conan/*; do \
8383
export profile_name=$$(basename -s .profile $${profile}); \
84-
install "$${profile}" "${CONAN_DIR}/profiles/$${profile_name}"; \
85-
sed -ir "s/default/${CONAN_PROFILE}/" "${CONAN_DIR}/profiles/$${profile_name}"; \
84+
install -m 644 "$${profile}" "${CONAN_DIR}/profiles/$${profile_name}"; \
85+
sed -r -i "s/default/${CONAN_PROFILE}/" "${CONAN_DIR}/profiles/$${profile_name}"; \
8686
done
8787
# Ensure we have an up-to-date CMake configured.
8888
if [ $$(( cmake --version | head -1 | cut -f3 -d' '; echo "3.14.99" ) | sort -V | tail -1) = "3.14.99" ]; then \

0 commit comments

Comments
 (0)