Skip to content
Snippets Groups Projects
Commit 5f80e7f8 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Correctly setup installation directory for scripts

parent deca024d
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
# Thu 22 Sep 2016 13:05:54 CEST
# Build utilities
SCRIPTS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# Determines the operating system we're using
osname() {
......@@ -285,7 +286,7 @@ else
fi
# sets up certificates for curl and openssl
CURL_CA_BUNDLE="$(dirname ${0})/cacert.pem"
CURL_CA_BUNDLE="${SCRIPTS_DIR}/cacert.pem"
export_env CURL_CA_BUNDLE
SSL_CERT_FILE="${CURL_CA_BUNDLE}"
export_env SSL_CERT_FILE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment