aboutsummaryrefslogtreecommitdiff
path: root/core/libressl/files
diff options
context:
space:
mode:
Diffstat (limited to 'core/libressl/files')
-rwxr-xr-xcore/libressl/files/update-certdata.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/libressl/files/update-certdata.sh b/core/libressl/files/update-certdata.sh
index 0c333e7a..5283c329 100755
--- a/core/libressl/files/update-certdata.sh
+++ b/core/libressl/files/update-certdata.sh
@@ -2,13 +2,13 @@
#
# update-certdata.sh
-[ -w /etc/ssl ] || {
+[ -w "$KISS_ROOT/etc/ssl" ] || {
printf '%s\n' "${0##*/}: root required to update cert." >&2
exit 1
}
-cd /etc/ssl && {
+cd "$KISS_ROOT/etc/ssl" && {
wget https://curl.haxx.se/ca/cacert.pem
mv -f cacert.pem cert.pem
- printf '%s\n' "${0##*/}: updated cert.pm"
+ printf '%s\n' "${0##*/}: updated cert.pem"
}