pkg-download: do not test SITE_METHOD
SITE_METHOD is always set in inner-generic-package. So, it is useless to test it in pkg-download. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4c05027327
commit
ef17d6f2cd
@ -223,12 +223,7 @@ define DOWNLOAD_INNER
|
||||
exit 1 ; \
|
||||
fi ; \
|
||||
if test -n "$(1)" ; then \
|
||||
if test -z "$($(PKG)_SITE_METHOD)" ; then \
|
||||
scheme="$(call geturischeme,$(1))" ; \
|
||||
else \
|
||||
scheme="$($(PKG)_SITE_METHOD)" ; \
|
||||
fi ; \
|
||||
case "$$scheme" in \
|
||||
case "$($(PKG)_SITE_METHOD)" in \
|
||||
git) $($(3)_GIT) && exit ;; \
|
||||
svn) $($(3)_SVN) && exit ;; \
|
||||
cvs) $($(3)_CVS) && exit ;; \
|
||||
|
Loading…
Reference in New Issue
Block a user