Skip to content

Commit

Permalink
Minor runtime bug fix (#23)
Browse files Browse the repository at this point in the history
* minor path bug fix

* Update env.go

* Update env.go

---------

Co-authored-by: Vicente Eduardo Ferrer Garcia <[email protected]>
  • Loading branch information
ashpect and viferga authored Jun 19, 2024
1 parent 8f2ee3e commit c0754bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (e Env) DepsEnv() Env {
}

func (e Env) DevEnv() Env {
e.state = e.state.Dir("/usr/local/metacall").
e.state = e.state.
AddEnv(
"LOADER_LIBRARY_PATH",
"/usr/local/metacall/build",
Expand Down Expand Up @@ -64,7 +64,7 @@ func (e Env) DevEnv() Env {
}

func (e Env) RuntimeEnv() Env {
e.state = e.state.Dir("/usr/local/metacall").
e.state = e.state.
AddEnv(
"DEBIAN_FRONTEND",
"noninteractive",
Expand Down Expand Up @@ -137,8 +137,8 @@ func (e Env) MetaCallBuild(arg string) Env {
}

func (e Env) MetacallRuntime(arg string) Env {
e.state = e.state.Run(llb.Shlexf("bash /usr/local/metacall/tools/metacall-runtime.sh base backtrace ports clean %v", arg)).
Root()
e.state = e.state.Run(llb.Shlexf("bash /usr/local/metacall/tools/metacall-runtime.sh base ports clean %v", arg)).
Root() // TODO: Add backtrace

return e
}
Expand Down

0 comments on commit c0754bf

Please sign in to comment.