Skip to content

Commit

Permalink
If not all envars could be generated retry later
Browse files Browse the repository at this point in the history
  • Loading branch information
jan committed Jun 22, 2024
1 parent 5f3f571 commit bb4f293
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ public Map<String, String> getEnvironmentVariables() {

private void configureIfDirty() {
if (myMemoryIsDirty) {
getEnvVarsNonExpanding();
myMemoryIsDirty = false;
myMemoryIsDirty = getEnvVarsNonExpanding();
getEnvVarsExpanding();
}
if (!ResourcesPlugin.getWorkspace().isTreeLocked()) {
Expand Down Expand Up @@ -236,8 +235,9 @@ private void getEnvVarsExpanding() {

/**
* get the environment variables that do not reliy on variable expansion to get the value.
* @return true when data was missing
*/
private void getEnvVarsNonExpanding() {
private boolean getEnvVarsNonExpanding() {
IProject project = getProject();

myEnvironmentVariables.clear();
Expand Down Expand Up @@ -274,6 +274,7 @@ private void getEnvVarsNonExpanding() {
myEnvironmentVariables.put("PATH", makeEnvironmentVar(ENV_KEY_COMPILER_PATH) + pathDelimiter //$NON-NLS-1$
+ makeEnvironmentVar(ENV_KEY_BUILD_GENERIC_PATH) + pathDelimiter + makeEnvironmentVar("PATH")); //$NON-NLS-1$
}
return (myBoardDescription == null) || (myCompileDescription == null)|| (myOtherDesc == null);
}

/**
Expand Down

0 comments on commit bb4f293

Please sign in to comment.