Commit ce50ca41 authored by gsell's avatar gsell

postinstall_macOS: fixes in patching h5pcc and h5c++

parent 042263e4
......@@ -35,7 +35,7 @@ sed -i.bak "${sed_expr}" "${OTB_PREFIX}/bin/gsl-config"
# make script HDF5 wrappers relocatable
for f in h5c++ h5pcc; do
sed -i.bak 's|^prefix=.*|prefix=\$(cd \$(dirname \$0) \&\& pwd))|' "${OTB_PREFIX}/bin/$f"
sed -i.bak 's|^prefix=.*|prefix="\$(cd "\$(dirname \$0)/.." \&\& pwd)"|' "${OTB_PREFIX}/bin/$f"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment