[include] download.mk: fix bzr download method
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6defa2c375
commit
ef4f1d04ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue