-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathany.jl
40 lines (29 loc) · 1.1 KB
/
any.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Autogenerated wrapper script for MozillaCACerts_jll for any
export cacert
## Global variables
PATH = ""
LIBPATH = ""
LIBPATH_env = "LD_LIBRARY_PATH"
LIBPATH_default = ""
# Relative path to `cacert`
const cacert_splitpath = ["share", "cacert.pem"]
# This will be filled out by __init__() for all products, as it must be done at runtime
cacert_path = ""
# cacert-specific global declaration
# This will be filled out by __init__()
cacert = ""
"""
Open all libraries
"""
function __init__()
global artifact_dir = abspath(artifact"MozillaCACerts")
# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
global cacert_path = normpath(joinpath(artifact_dir, cacert_splitpath...))
global cacert = cacert_path
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
filter!(!isempty, unique!(PATH_list))
filter!(!isempty, unique!(LIBPATH_list))
global PATH = join(PATH_list, ':')
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')
end # __init__()