Only check distfiles once, not every time.
--HG-- extra : convert_revision : 6e3a5e715aea21956395018360cae66b8f211d67
This commit is contained in:
parent
0d646e2ee9
commit
4240afc516
|
@ -62,6 +62,8 @@ fetch_distfiles()
|
|||
#
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
|
||||
[ -f "$XBPS_FETCH_DONE" ] && return 0
|
||||
|
||||
#
|
||||
# If nofetch is set in a build template, skip this phase
|
||||
# entirely and run the do_fetch() function.
|
||||
|
@ -144,4 +146,5 @@ fetch_distfiles()
|
|||
done
|
||||
|
||||
unset cksum found
|
||||
touch -f $XBPS_FETCH_DONE
|
||||
}
|
||||
|
|
|
@ -227,6 +227,7 @@ prepare_tmpl()
|
|||
[ -z "$wrksrc" ] && wrksrc="$pkgname-$version"
|
||||
wrksrc="$XBPS_BUILDDIR/$wrksrc"
|
||||
|
||||
XBPS_FETCH_DONE="$wrksrc/.xbps_fetch_done"
|
||||
XBPS_EXTRACT_DONE="$wrksrc/.xbps_extract_done"
|
||||
XBPS_APPLYPATCHES_DONE="$wrksrc/.xbps_applypatches_done"
|
||||
XBPS_CONFIGURE_DONE="$wrksrc/.xbps_configure_done"
|
||||
|
|
Loading…
Reference in New Issue