aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-08-03 19:53:37 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-04 20:12:24 +0200
commit389f50dfb68b5e87413b348b34e87d69ff875e82 (patch)
tree2f41d11f9c8a5c96f38e660b359137cd3c105af6 /package/pkg-download.mk
parent84469226c1d4e6b7bf7052ef9039b26991041311 (diff)
downloadbuildroot-389f50dfb68b5e87413b348b34e87d69ff875e82.tar.gz
buildroot-389f50dfb68b5e87413b348b34e87d69ff875e82.tar.bz2
support/download: convert cvs to use the wrapper
This drastically simplifies the cvs helper, as it no longer has to deal with atomically saving the downloaded archive. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index f10aad8a34..66ce02c94f 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -129,9 +129,12 @@ endef
define DOWNLOAD_CVS
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
- $(EXTRA_ENV) support/download/cvs $(call stripurischeme,$(call qstrip,$($(PKG)_SITE))) \
- $($(PKG)_DL_VERSION) $($(PKG)_RAWNAME) \
- $($(PKG)_BASE_NAME) $(DL_DIR)/$($(PKG)_SOURCE)
+ $(EXTRA_ENV) support/download/wrapper cvs \
+ $(DL_DIR)/$($(PKG)_SOURCE) \
+ $(call stripurischeme,$(call qstrip,$($(PKG)_SITE))) \
+ $($(PKG)_DL_VERSION) \
+ $($(PKG)_RAWNAME) \
+ $($(PKG)_BASE_NAME)
endef
# Not all CVS servers support ls/rls, use login to see if we can connect