mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-09-07 13:09:15 +01:00
Make customized env effective (#9)
This commit is contained in:
parent
68d27a0401
commit
262a495997
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ func (b Builder) Build(ctx context.Context, outputFile string) error {
|
|||
"-ldflags", "-w -s", // trim debug symbols
|
||||
"-trimpath",
|
||||
)
|
||||
cmd.Env = env
|
||||
err = buildEnv.runCommand(ctx, cmd, 5*time.Minute)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue