From c48d5ce913cac964b4f951d077e8aadd6ef31eff Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 28 Sep 2014 07:47:14 +0200 Subject: [PATCH] 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. --- common/hooks/pre-configure/02-script-wrapper.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index 4f9b7212124..13f0dca8ed8 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -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} }