6in4: add missing colon when setting default ca_path
authorDaniel Golle <daniel@makrotopia.org>
Mon, 23 Jan 2017 12:39:52 +0000 (13:39 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 23 Jan 2017 12:41:18 +0000 (13:41 +0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/ipv6/6in4/files/6in4.sh

index 45d8ab75ad4d52ab5021c4baf0f96b3c6c124ffa..786f37fc14c81d8f58d0da32626eb91082192c15 100755 (executable)
@@ -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)" ] && {