Skip to content

Commit 149c822

Browse files
authored
Put call to run_script at the end, to unbreak bash (#463)
## Summary TSIA Fixes #402 ## How was it tested? ``` SHELL=bash ./devbox run <script> ```
1 parent 14e5ea1 commit 149c822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/nix/shell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ func (s *Shell) execCommand() string {
291291
extraEnv, extraArgs := s.shellRCOverrides(shellrc)
292292
args = append(args, extraEnv...)
293293
args = append(args, s.binPath)
294+
args = append(args, extraArgs...)
294295
if s.ScriptCommand != "" {
295296
args = append(args, "-ic")
296297
args = append(args, "run_script")
297298
}
298-
args = append(args, extraArgs...)
299299
return strings.Join(args, " ")
300300
}
301301

0 commit comments

Comments
 (0)