Skip to content

Commit e787b34

Browse files
authored
Fix path setup for cereal installation script
1 parent 469f47f commit e787b34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

toolchain/scripts/stage4/install_cereal.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ if [ "$with_cereal" != "__DONTUSE__" ]; then
117117
if [ "$with_cereal" != "__SYSTEM__" ]; then
118118
cat << EOF > "${BUILDDIR}/setup_cereal"
119119
prepend_path CPATH "$pkg_install_dir/include"
120-
prepend_path CMAKE_PREFIX_PATH "$pkg_install_dir/include"
121-
export CPATH="$pkg_install_dir/include":\${CPATH}
122-
export CMAKE_PREFIX_PATH="$pkg_install_dir/include":\${CMAKE_PREFIX_PATH}
120+
prepend_path CMAKE_PREFIX_PATH "${pkg_install_dir}/include"
121+
export CPATH="${pkg_install_dir}/include":\${CPATH}
122+
export CMAKE_PREFIX_PATH="${pkg_install_dir}/include":\${CMAKE_PREFIX_PATH}
123123
export CEREAL_ROOT="$pkg_install_dir"
124124
EOF
125125
else

0 commit comments

Comments
 (0)