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>
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 ;; \