Skip to content

Commit

Permalink
Take the abspath() after the envexpand()
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jun 24, 2021
1 parent 654e51e commit c88b24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generate_sandboxed_bash.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ add_env_dir!(workspace_mappings, "TMPDIR"; default="/tmp")
for (sandbox_path, host_path) in workspaces
# Also perform ENV-expansion. Note that to make parsing easier, we
# only support `${FOO}` style expansion, not `$FOO` style.
workspace_mappings[envexpand(sandbox_path)] = envexpand(abspath(host_path))
workspace_mappings[envexpand(sandbox_path)] = abspath(envexpand(host_path))
end


Expand Down

0 comments on commit c88b24c

Please sign in to comment.