X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a091d3050b678c3c0b1c31362527133ef7a1b624..6b41b93bc5392ff632b68700d32f226f4dbc4c6f:/include/download.mk diff --git a/include/download.mk b/include/download.mk index c924ca051..9dd26a744 100644 --- a/include/download.mk +++ b/include/download.mk @@ -104,10 +104,10 @@ define DownloadMethod/bzr cd $(TMP_DIR)/dl && \ rm -rf $(SUBDIR) && \ [ \! -d $(SUBDIR) ] && \ - bzr export -r$(VERSION) $(URL) $(SUBDIR) && \ + bzr export -r$(VERSION) $(SUBDIR) $(URL) && \ echo "Packing checkout..." && \ $(call dl_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ - mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ rm -rf $(SUBDIR); \ ) endef