hooks/script-wrapper: fix generated cups-config wrapper.

This was changing cups_serverbin to the cross toolchain sysroot
and caused cups-filters to install bins to this path.
This commit is contained in:
Juan RP 2014-09-28 07:47:14 +02:00
parent 3efa28ecbf
commit c48d5ce913
1 changed files with 2 additions and 1 deletions

View File

@ -44,8 +44,9 @@ generic_wrapper3() {
cp ${XBPS_CROSS_BASE}/usr/bin/${wrapper} ${WRAPPERDIR}
sed -e "s,/usr/include,${XBPS_CROSS_BASE}/usr/include,g" -i ${WRAPPERDIR}/${wrapper}
sed -e "s,/usr/lib,${XBPS_CROSS_BASE}/usr/lib,g" -i ${WRAPPERDIR}/${wrapper}
sed -e "s,libdir=/usr/lib,libdir=${XBPS_CROSS_BASE}/usr/lib,g" -i ${WRAPPERDIR}/${wrapper}
sed -e "s,^prefix=/usr,prefix=${XBPS_CROSS_BASE}/usr," -i ${WRAPPERDIR}/${wrapper}
chmod 755 ${WRAPPERDIR}/${wrapper}
}