Use XBPS_FETCH_CMD in packages that need to fetch something.
--HG-- extra : convert_revision : 9f7742da201cd3a2fee82c2bf6085d8cef7b00f2
This commit is contained in:
parent
d99940c468
commit
2a8278bd06
4 changed files with 9 additions and 6 deletions
|
@ -42,10 +42,12 @@ Add_dependency run coreutils
|
|||
|
||||
pre_configure()
|
||||
{
|
||||
local url="http://ftp.gnu.org/gnu/bash/bash-4.0-patches"
|
||||
|
||||
if [ "${bash_patchlevel}" -gt 000 ]; then
|
||||
for p in $(seq -w 001 ${bash_patchlevel}); do
|
||||
[ -f ${XBPS_SRCDISTDIR}/bash40-${p} ] && continue
|
||||
wget http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-$p
|
||||
$XBPS_FETCH_CMD ${url}/bash40-$p
|
||||
done
|
||||
fi
|
||||
cd ${wrksrc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue