pinokiod 1.3.53 → 1.3.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/shell.js +6 -0
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -112,13 +112,19 @@ class Shell {
|
|
|
112
112
|
|
|
113
113
|
this.env.CMAKE_OBJECT_PATH_MAX = 1024
|
|
114
114
|
|
|
115
|
+
console.log("THIS.env before", this.env)
|
|
115
116
|
let home_env = await Environment.get(this.kernel.homedir)
|
|
117
|
+
console.log("home_env before", home_env)
|
|
116
118
|
this.env = Object.assign(this.env, home_env)
|
|
119
|
+
console.log("home_env after", this.env)
|
|
117
120
|
if (params.$parent) {
|
|
118
121
|
let api_path = await Util.api_path(params.$parent.path, this.kernel)
|
|
122
|
+
await Environment.init_folders(api_path)
|
|
119
123
|
let current_env = await Environment.get(api_path)
|
|
124
|
+
console.log({ current_env, api_path })
|
|
120
125
|
this.env = Object.assign(this.env, current_env)
|
|
121
126
|
}
|
|
127
|
+
console.log("THIS.env after", this.env)
|
|
122
128
|
let PATH_KEY;
|
|
123
129
|
if (this.env.Path) {
|
|
124
130
|
PATH_KEY = "Path"
|