mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix broken pipe error building version file
(11:34:09) ERROR: /tmpfs/src/github/repo/runsc/BUILD:82:1: Couldn't build file runsc/version.txt: Executing genrule //runsc:deb-version failed (Broken pipe): bash failed: error executing command PiperOrigin-RevId: 252691902
This commit is contained in:
committed by
Shentubot
parent
307a9854ed
commit
a775ae82fe
+1
-1
@@ -82,7 +82,7 @@ pkg_tar(
|
||||
genrule(
|
||||
name = "deb-version",
|
||||
outs = ["version.txt"],
|
||||
cmd = "$(location :runsc) -version | head -n 1 | sed 's/^[^0-9]*//' > $@",
|
||||
cmd = "$(location :runsc) -version | grep 'runsc version' | sed 's/^[^0-9]*//' > $@",
|
||||
stamp = 1,
|
||||
tools = [":runsc"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user