Blame vars/python2.vars

Ørjan Malde 4596fb
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Ørjan Malde 4596fb
#
Ørjan Malde 4596fb
Lucio Andrés Illanes Albornoz d279a9
pkg_python2_fetch_download() {
Lucio Andrés Illanes Albornoz bf9edf
	if ! pkg_fetch_download\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython2"\
Lucio Andrés Illanes Albornoz 368962
	|| ! rtl_fetch_urls_git "${BUILD_DLCACHEDIR}" "${DEFAULT_GIT_ARGS}" "${PKG_BASE_DIR}/build" "${PKG_NAME}" "${PKG_MIRRORS_GIT:-}" "sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! ex_pkg_state_set "${PKG_NAME}" "fetch_download" "-fetch_extract"; then
Lucio Andrés Illanes Albornoz bf9edf
		return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Ørjan Malde 4596fb
};
Ørjan Malde 4596fb
Lucio Andrés Illanes Albornoz 7f1975
pkg_python2_minipix_fetch_download() {
Lucio Andrés Illanes Albornoz 7f1975
	pkg_python2_fetch_download "${@}";
Lucio Andrés Illanes Albornoz 7f1975
};
Lucio Andrés Illanes Albornoz 7f1975
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0