xbps-src: make 'extract' target also fetch distfiles.

This commit is contained in:
Juan RP 2011-02-11 15:29:00 +01:00
parent 9f8ea82ea5
commit 53dd86fc6e

View file

@ -369,11 +369,8 @@ extract|fetch|info)
info_tmpl
exit $?
fi
if [ "$target" = "fetch" ]; then
. $XBPS_SHUTILSDIR/fetch_funcs.sh
fetch_distfiles $update_checksum
exit $?
fi
. $XBPS_SHUTILSDIR/fetch_funcs.sh
fetch_distfiles $update_checksum
. $XBPS_SHUTILSDIR/extract_funcs.sh
extract_distfiles
;;