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)
committerJo-Philipp Wich <jo@mein.io>
Wed, 1 Mar 2017 19:37:35 +0000 (20:37 +0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/ipv6/6in4/files/6in4.sh

index 45d8ab7..786f37f 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)" ] && {