mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
[infra] Fix Build Github action failure.
The GH Build action has been failing with the error message: ``` --- BUILD -c opt //runsc tee: /proc/self/fd/2: No such device or address ``` tee /dev/fd/2 seems to be the canonical way of copying stdin to stderr. So use that instead. PiperOrigin-RevId: 353259087
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ endif
|
||||
build_paths = \
|
||||
(set -euo pipefail; \
|
||||
$(call wrapper,$(BAZEL) build $(BASE_OPTIONS) $(BAZEL_OPTIONS) $(1)) 2>&1 \
|
||||
| tee /proc/self/fd/2 \
|
||||
| tee /dev/fd/2 \
|
||||
| sed -n -e '/^Target/,$$p' \
|
||||
| sed -n -e '/^ \($(subst /,\/,$(subst $(SPACE),\|,$(BUILD_ROOTS)))\)/p' \
|
||||
| sed -e 's/ /\n/g' \
|
||||
|
||||
Reference in New Issue
Block a user