File: allow-install-base-symlinks.patch

package info (click to toggle)
bazel-bootstrap 4.2.3%2Bds-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 85,704 kB
  • sloc: java: 721,717; sh: 55,859; cpp: 35,360; python: 12,139; xml: 295; objc: 269; makefile: 113; ansic: 106; ruby: 3
file content (16 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Accept symlinks in install base
Author: Yun Peng <pcloudy@google.com>
Origin: upstream, https://github.com/meteorcloudy/bazel/commit/3c0d47030f3c1b9c96d256e82fced642a7ce700b
Forwarded: not-needed
Last-Update: 2020-08-10

--- a/src/main/java/com/google/devtools/build/lib/exec/BinTools.java
+++ b/src/main/java/com/google/devtools/build/lib/exec/BinTools.java
@@ -133,6 +133,7 @@
           : relative + "/" + dirent.getName();
       switch (dirent.getType()) {
         case FILE:
+        case SYMLINK:
           result.add(childRelative);
           break;