[OpenWrt-Devel] [PATCH] build: svn: remove the check for trust-server-cert option

kai zhang zhangkaiheb at 126.com
Thu Jun 4 22:06:09 EDT 2020


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 <zhangkaiheb at 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 at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list