From: nico Date: Mon, 29 Mar 2010 13:06:19 +0000 (+0000) Subject: [include] download.mk: fix bzr download method X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=a2ad08b4895550bf0586a79612ea90ecfd6ca9b8;p=openwrt.git [include] download.mk: fix bzr download method git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/download.mk b/include/download.mk index c924ca0516..9dd26a7447 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