Use pkgdir inside isolate sandbox to account for packages that have been built with a custom PREFIX

closes #686
This commit is contained in:
Omar Brikaa 2024-09-15 20:48:45 +03:00
parent ecdced9ee7
commit c4afd97a38
2 changed files with 4 additions and 5 deletions

View file

@ -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();
});
}