We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42baf31 commit 27fc351Copy full SHA for 27fc351
internal/wrapnix/wrapper.go
@@ -69,7 +69,6 @@ type createWrapperArgs struct {
69
devboxer
70
BashPath string
71
Command string
72
- Env map[string]string
73
ShellEnvHash string
74
75
destPath string
internal/wrapnix/wrapper.sh.tmpl
@@ -6,13 +6,6 @@
6
# differently than devbox.json env variables which are always set once.
7
*/ -}}
8
9
-{{ range $k, $v := .Env }}
10
-if [[ -z "$__DEVBOX_SET_{{ $k }}" ]]; then
11
- export {{ $k }}="${ {{- $k }}:-{{ $v }}}"
12
- export __DEVBOX_SET_{{ $k }}="1"
13
-fi
14
-{{- end }}
15
-
16
{{/*
17
We use ShellEnvHashKey to prevent doing shellenv if the correct environment is
18
already set. (perf optimization)
0 commit comments