[source] 6in4: add missing colon when setting default ca_path
LEDE Commits
lede-commits at lists.infradead.org
Mon Jan 23 04:43:40 PST 2017
dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/1590b0fab077e046450bc3625b921319a281a66c
commit 1590b0fab077e046450bc3625b921319a281a66c
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