xbps-src: improve msg_* funcs and update all callers.

This commit is contained in:
Juan RP
2010-12-20 00:22:12 +01:00
parent 24c7ac6808
commit 3da3783333
27 changed files with 184 additions and 173 deletions

View File

@@ -35,13 +35,13 @@ pre_configure()
cd ${XBPS_SRCDISTDIR} || return 1
for p in $(seq -w 001 ${_patchver}); do
[ -f ${XBPS_SRCDISTDIR}/${_distver}.${p} ] && continue
msg_normal " Fetching ${url}/${_distver}-$p patch..."
msg_normal " Fetching ${url}/${_distver}-$p patch...\n"
$XBPS_FETCH_CMD ${url}/${_distver}.$p 2>&1
done
fi
cd ${wrksrc}
for p in $(seq -w 001 ${_patchver}); do
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${_distver}.${p} && \
msg_normal "Applied patch ${_distver}.$p."
msg_normal " Applied patch ${_distver}.$p.\n"
done
}