diff options
author | Thomas Draebing <thomas.draebing@sap.com> | 2020-07-07 11:00:34 +0200 |
---|---|---|
committer | Thomas Dräbing <thomas.draebing@sap.com> | 2020-07-07 10:40:16 +0000 |
commit | 9407880fa6783a7601b1ee24463ee4081744729c (patch) | |
tree | ad8b5d2c97f80c5ade1f474f5799b0e0b159f2ef | |
parent | 9d0585d8f8267eb10a7e3daece3fb0c3712a56f3 (diff) |
Fix plugin builds on OSX
This fixes plugin stamping by adding overwrite files without
prompting option to unzip command.
Inspired-by: David Ostrovsky <david@ostrovsky.org>
Issue: 13105
Change-Id: Ifb0dac4987d85f57333f27f9602a873ecb5440e9
-rw-r--r-- | tools/bzl/plugin.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bzl/plugin.bzl b/tools/bzl/plugin.bzl index 92f9309a89..5ef8229c35 100644 --- a/tools/bzl/plugin.bzl +++ b/tools/bzl/plugin.bzl @@ -106,7 +106,7 @@ def gerrit_plugin( "export TZ", "GEN_VERSION=$$(cat bazel-out/stable-status.txt | grep -w STABLE_BUILD_%s_LABEL | cut -d ' ' -f 2)" % dir_name.upper(), "cd $$TMP", - "unzip -q $$ROOT/$<", + "unzip -qo $$ROOT/$<", "echo \"Implementation-Version: $$GEN_VERSION\n$$(cat META-INF/MANIFEST.MF)\" > META-INF/MANIFEST.MF", "find . -exec touch '{}' ';'", "zip -Xqr $$ROOT/$@ .", |