diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-06-11 13:55:17 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-06-11 13:56:32 -0700 |
commit | a775ae82fed4f703db28edc3d9d58b5652d6979d (patch) | |
tree | 9419546137544bfd0bbec60938b412b18e8a13d1 /runsc/BUILD | |
parent | 307a9854edd4a1257b0393d39d8b4fca7b4223e4 (diff) |
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
Diffstat (limited to 'runsc/BUILD')
-rw-r--r-- | runsc/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/BUILD b/runsc/BUILD index 3d6c92e4c..8a57c597b 100644 --- a/runsc/BUILD +++ b/runsc/BUILD @@ -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"], ) |