aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-01-23 13:39:52 +0100
committerJo-Philipp Wich <jo@mein.io>2017-03-01 20:37:35 +0100
commit83d3e393bfe85350fcce55735125b5037b0d4ad7 (patch)
tree42b739cc0985daa0cb675d20741f0e7215955812 /package
parentee1cd31d2b2693afa0c16e1d2b1292b5b95ab4c4 (diff)
downloadupstream-83d3e393bfe85350fcce55735125b5037b0d4ad7.tar.gz
upstream-83d3e393bfe85350fcce55735125b5037b0d4ad7.tar.bz2
upstream-83d3e393bfe85350fcce55735125b5037b0d4ad7.zip
6in4: add missing colon when setting default ca_path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/ipv6/6in4/files/6in4.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index 45d8ab75ad..786f37fc14 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)" ] && {