summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/protobuf-java/protobuf-java-3.21.12.ebuild3
-rw-r--r--dev-java/protobuf-java/protobuf-java-3.21.9-r2.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-java/protobuf-java/protobuf-java-3.21.12.ebuild b/dev-java/protobuf-java/protobuf-java-3.21.12.ebuild
index da7ae95555d7..7885a6ab21ee 100644
--- a/dev-java/protobuf-java/protobuf-java-3.21.12.ebuild
+++ b/dev-java/protobuf-java/protobuf-java-3.21.12.ebuild
@@ -55,7 +55,8 @@ src_prepare() {
"${S}/core/pom.xml") > "${T}/core_proto" || die "echo to core_proto failed"
# Copy them from ../src/google/protobuf to JAVA_RESOURCE_DIRS
pushd "${JAVA_RESOURCE_DIRS}" || die
- jar cv "@${T}/core_proto" | jar xv || die "Copying protos failed"
+ jar cv "@${T}/core_proto" | jar xv
+ assert"Copying protos failed"
popd || die
# https://github.com/protocolbuffers/protobuf/blob/v21.12/java/core/generate-sources-build.xml
diff --git a/dev-java/protobuf-java/protobuf-java-3.21.9-r2.ebuild b/dev-java/protobuf-java/protobuf-java-3.21.9-r2.ebuild
index 9dc32c355b91..ef157767a703 100644
--- a/dev-java/protobuf-java/protobuf-java-3.21.9-r2.ebuild
+++ b/dev-java/protobuf-java/protobuf-java-3.21.9-r2.ebuild
@@ -52,7 +52,8 @@ src_prepare() {
"${S}/core/pom.xml") > "${T}/core_proto" || die "echo to core_proto failed"
# Copy them from ../src/google/protobuf to JAVA_RESOURCE_DIRS
pushd "${JAVA_RESOURCE_DIRS}" || die
- jar cv "@${T}/core_proto" | jar xv || die "Copying protos failed"
+ jar cv "@${T}/core_proto" | jar xv
+ assert "Copying protos failed"
popd || die
# https://github.com/protocolbuffers/protobuf/blob/v21.9/java/core/generate-sources-build.xml