Fix arguments for preconfigure and postconfigure for linux (#533)
* fix arguments for linux for script args * changelog update
This commit is contained in:
Родитель
01305ea883
Коммит
7ec4385194
|
@ -3,6 +3,7 @@
|
|||
## 0.8
|
||||
Bug Fixes:
|
||||
- Fix a bug where the first argument for pre/post-configure args didn't have the proper spacing in front of it [PR #530](https://github.com/microsoft/vscode-makefile-tools/pull/530)
|
||||
- Fix a bug where we weren't handling pre/post-configure args for the non-windows scenarios. [#531](https://github.com/microsoft/vscode-makefile-tools/issues/531)
|
||||
|
||||
Improvements:
|
||||
- Add support for a post configure script. [#391](https://github.com/microsoft/vscode-makefile-tools/issues/391)
|
||||
|
|
|
@ -773,7 +773,7 @@ export async function runPrePostConfigureScript(progress: vscode.Progress<{}>, s
|
|||
wrapScriptContent += `set > "${wrapScriptOutFile}"`;
|
||||
wrapScriptFile += ".bat";
|
||||
} else {
|
||||
wrapScriptContent = `source '${scriptFile}'\n`;
|
||||
wrapScriptContent = `source '${scriptFile}' ${scriptArgs.length > 0 ? scriptArgs.join(" ").toString() : ""}\n`;
|
||||
wrapScriptContent += `printenv > '${wrapScriptOutFile}'`;
|
||||
wrapScriptFile += ".sh";
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче