The command:(svn help export) does not display trust-server-cert
option by default even if it is supported with svn version 1.13.0.

Signed-off-by: kai zhang <zhangkai...@126.com>
---
 include/download.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/download.mk b/include/download.mk
index 9c8ada052b..6c7b5f6371 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -167,9 +167,7 @@ define DownloadMethod/svn
                cd $(TMP_DIR)/dl && \
                rm -rf $(SUBDIR) && \
                [ \! -d $(SUBDIR) ] && \
-               ( svn help export | grep -q trust-server-cert && \
-               svn export --non-interactive --trust-server-cert -r$(VERSION) 
$(URL) $(SUBDIR) || \
-               svn export --non-interactive -r$(VERSION) $(URL) $(SUBDIR) ) && 
\
+               svn export --non-interactive --trust-server-cert -r$(VERSION) 
$(URL) $(SUBDIR) && \
                echo "Packing checkout..." && \
                export TAR_TIMESTAMP="" && \
                $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \
-- 
2.25.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to