diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java b/src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java index 494f4454ca..2980c718a5 100644 --- a/src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java +++ b/src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java @@ -112,14 +112,15 @@ public final class SymlinkTreeHelper { AbstractAction action, ActionExecutionContext actionExecutionContext, BinTools binTools, - PathFragment shExecutable) + PathFragment shExecutable, + ImmutableMap<String, String> shellEnvironment) throws ExecException, InterruptedException { List<String> args = getSpawnArgumentList( actionExecutionContext.getExecutor().getExecRoot(), binTools, shExecutable); try (ResourceHandle handle = ResourceManager.instance().acquireResources(action, RESOURCE_SET)) { actionExecutionContext.getExecutor().getSpawnActionContext(action.getMnemonic()).exec( - new BaseSpawn.Local(args, ImmutableMap.<String, String>of(), action), + new BaseSpawn.Local(args, shellEnvironment, action), actionExecutionContext); } } |