MCPcopy Index your code
hub / github.com/jetify-com/devbox / setSystemBinaryPaths

Function setSystemBinaryPaths

internal/boxcli/root.go:149–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149func setSystemBinaryPaths() {
150 if os.Getenv("DEVBOX_SYSTEM_BASH") == "" {
151 os.Setenv("DEVBOX_SYSTEM_BASH", cmdutil.GetPathOrDefault("bash", "/bin/bash"))
152 }
153 if os.Getenv("DEVBOX_SYSTEM_SED") == "" {
154 os.Setenv("DEVBOX_SYSTEM_SED", cmdutil.GetPathOrDefault("sed", "/usr/bin/sed"))
155 }
156}

Callers 1

MainFunction · 0.85

Calls 1

GetPathOrDefaultFunction · 0.92

Tested by

no test coverage detected