diff options
-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"], ) |