post_install() { cd mingw32 local _prefix=$(pwd -W) cd - for f in mingw32/lib/cmake/libssh/*.cmake; do sed -e "s|/mingw32|${_prefix}|g" -i ${f} done } post_upgrade() { post_install }