Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 3c73dbc

Browse files
authored
Update env_mapping.jl
1 parent 3ca87f9 commit 3c73dbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/env_mapping.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ function _env_mapping(; adjust_PATH::Bool = true,
2020
libcurlpath = dirname(Git_jll.LibCURL_jll.libcurl_path)
2121
originallibpath = get(ENV, Git_jll.LIBPATH_env, "")
2222
ssl_cert = joinpath(dirname(Sys.BINDIR), "share", "julia", "cert.pem")
23+
# templatedir = "/usr/share/git-core/template"
24+
# templatedir = "/workspace/destdir/share/git-core/templates"
25+
templatedir =
2326

2427
sep = _separator()
2528

2629
env_mapping = Dict{String,String}()
2730
env_mapping["GIT_EXEC_PATH"] = git_core
2831
env_mapping["GIT_SSL_CAINFO"] = ssl_cert
32+
env_mapping["GIT_TEMPLATE_DIR"] = templatedir
2933
env_mapping[Git_jll.LIBPATH_env] = "$(libcurlpath)$(sep)$(originallibpath)"
3034
if haskey(ENV, "PATH")
3135
env_mapping["PATH"] = ENV["PATH"]

0 commit comments

Comments
 (0)