Skip to content

Commit

Permalink
Rollback of commit 3696355.
Browse files Browse the repository at this point in the history
*** Reason for rollback ***

Totally broke Bazel tests (100% failures!).
Found by git bisect after running the update script.

*** Original change description ***

sandbox: We have to move all generated outputs, not just regular files.

Fix for a part of bug #397.

--
MOS_MIGRATED_REVID=102354724
  • Loading branch information
damienmg committed Sep 4, 2015
1 parent 0716303 commit ab4abc4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ private void copyOutputs(Collection<? extends ActionInput> outputs) throws IOExc
Path source = sandboxExecRoot.getRelative(output.getExecPathString());
Path target = execRoot.getRelative(output.getExecPathString());
FileSystemUtils.createDirectoryAndParents(target.getParentDirectory());
Files.move(source.getPathFile(), target.getPathFile());
if (source.isFile()) {
Files.move(new File(source.getPathString()), new File(target.getPathString()));
}
}
}

Expand Down

0 comments on commit ab4abc4

Please sign in to comment.