# correct install dir
test -e ${PRODUCT_DIR}/lib/python${PY_LIBVERSION}/config/Makefile && \
sed -i "s%^\(prefix[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}%g;s%^\(CONFIG_ARGS[[:space:]]*=.*\)--prefix=[^']*'%\1--prefix=${PRODUCT_DIR}'%g" \
- ${PRODUCT_DIR}/lib/python${PY_LIBVERSION}/config/Makefile)
+ ${PRODUCT_DIR}/lib/python${PY_LIBVERSION}/config/Makefile
# modify scripts
for l in idle pydoc smtpd.py 2to3 python${PY_LIBVERSION}-config ; do