mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Use pkgdir inside isolate sandbox to account for packages that have been built with a custom PREFIX
closes #686
This commit is contained in:
parent
ecdced9ee7
commit
c4afd97a38
2 changed files with 4 additions and 5 deletions
|
@ -185,7 +185,6 @@ class Runtime {
|
|||
.split('\n')
|
||||
.map(line => line.split('=', 2))
|
||||
.forEach(([key, val]) => {
|
||||
val = val.replace_all(this.pkgdir, '/runtime');
|
||||
this._env_vars[key.trim()] = val.trim();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue