[source] 6in4: add missing colon when setting default ca_path

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 1 11:37:42 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/83d3e393bfe85350fcce55735125b5037b0d4ad7

commit 83d3e393bfe85350fcce55735125b5037b0d4ad7
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Jan 23 13:39:52 2017 +0100

    6in4: add missing colon when setting default ca_path
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/network/ipv6/6in4/files/6in4.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index 45d8ab7..786f37f 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -84,7 +84,7 @@ proto_6in4_setup() {
 		local http="http"
 		local urlget="uclient-fetch"
 		local urlget_opts="-qO-"
-		local ca_path="${SSL_CERT_DIR-/etc/ssl/certs}"
+		local ca_path="${SSL_CERT_DIR:-/etc/ssl/certs}"
 
 		[ -f /lib/libustream-ssl.so ] && http=https
 		[ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && {



More information about the lede-commits mailing list