From 10454449cdf7d0e84f9140123076a8f38484577f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 19 Dec 2014 11:01:15 +0100 Subject: [PATCH] hooks/script-wrapper: fix python-wrapper and update PATH. --- common/hooks/pre-configure/02-script-wrapper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index bd128d0fa9..86efa64f77 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -57,7 +57,7 @@ python_wrapper() { if [ "\$1" = "--includes" ]; then echo "-I${XBPS_CROSS_BASE}/usr/include/python${version}" fi -exit $? +exit \$? _EOF chmod 755 ${XBPS_WRAPPERDIR}/${wrapper} } @@ -108,4 +108,6 @@ hook() { generic_wrapper3 xml2-config python_wrapper python-config 2.7 python_wrapper python3.4-config 3.4m + + export PATH="$XBPS_WRAPPERDIR:$PATH" }