Skip to contentSkip to conversation

support/download: convert bzr to use the wrapper

Buildroot Thomas Petazzoni 1 participant 1 message Aug 4, 2014

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=c48d45e3424e8ad7a1f320a66a4bebc7c056e052
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This drastically simplifies the bzr helper, as it no longer has to deal with atomically saving the downloaded archive.

---
 package/pkg-download.mk |    6 +++++-
 support/download/bzr    |   42 ++++++++++++------------------------------
 2 files changed, 17 insertions(+), 31 deletions(-)
package/pkg-download.mk +5 -1
index 118591c..0c9397a 100644
@@ -112,7 +112,11 @@ endef
 
 define DOWNLOAD_BZR
 	test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
-	$(EXTRA_ENV) support/download/bzr $($(PKG)_SITE) $($(PKG)_DL_VERSION) $(DL_DIR)/$($(PKG)_SOURCE)
+	$(EXTRA_ENV) support/download/wrapper bzr \
+		$(DL_DIR)/$($(PKG)_SOURCE) \
+		$($(PKG)_SITE) \
+		$($(PKG)_DL_VERSION) \
+		$($(PKG)_BASE_NAME)
 endef
 
 define SOURCE_CHECK_BZR
support/download/bzr +12 -30

50 lines not on this page · raw message