Commit d2f44ca9 authored by gsell's avatar gsell
Browse files

postinstall.sh: bugfix in make gsl-config relocatable

parent 8a565632
......@@ -29,7 +29,7 @@ find ${OTB_PREFIX} -name "*.la" -exec rm {} \;
# make script 'gsl-config' relocatable
#
sed_expr=''
sed_expr+='s|^prefix=.*|prefix=\$(cd \$(dirname \$0) \&\& pwd))|g;'
sed_expr+='s|^prefix=.*|prefix=\$(cd \$(dirname \$0) \&\& pwd)|g;'
sed_expr+='s|'"${OTB_PREFIX}"'|\"${prefix}\"|g;'
sed -i.bak "${sed_expr}" "${OTB_PREFIX}/bin/gsl-config"
......
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