diff options
author | zongyu <zzy2529420793@gmail.com> | 2020-07-06 12:19:49 +0800 |
---|---|---|
committer | zongyu <zzy2529420793@gmail.com> | 2020-07-06 17:48:27 +0800 |
commit | 55d4da9bfad9e4773edc1aded22bb154571e9e56 (patch) | |
tree | 2fcb5b2c065ab79b5238bffd0386b4a8d919731a /src | |
parent | initial support for Maven Central Distributed Source jars (diff) | |
download | java-ebuilder-55d4da9bfad9e4773edc1aded22bb154571e9e56.tar.gz java-ebuilder-55d4da9bfad9e4773edc1aded22bb154571e9e56.tar.bz2 java-ebuilder-55d4da9bfad9e4773edc1aded22bb154571e9e56.zip |
fix some typos
Signed-off-by: zongyu <zzy2529420793@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/gentoo/java/ebuilder/maven/MavenCache.java | 2 | ||||
-rw-r--r-- | src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenCache.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenCache.java index 45ff1d9..0443dd4 100644 --- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenCache.java +++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenCache.java @@ -65,7 +65,7 @@ public class MavenCache { } if (cacheItem == null) { - return "!!!suitble-avenVersion-not-found!!!"; + return "!!!suitble-mavenVersion-not-found!!!"; } final StringBuilder sbDependency = new StringBuilder(50); diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java index 0387120..48920e5 100644 --- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java +++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java @@ -838,10 +838,10 @@ public class MavenEbuilder { writer.println(); writer.println("src_unpack() {"); writer.println("\tmkdir -p ${S}/${JAVA_SRC_DIR}"); - writer.println("\tunzip ${DISTDIR}/${P}.jar -d ${S}/${JAVA_SRC_DIR}"); + writer.println("\tunzip ${DISTDIR}/${P}.jar -d ${S}/${JAVA_SRC_DIR} || die"); if (mavenProject.hasTests()) { writer.println("\tmkdir -p ${JAVA_TEST_SRC_DIR}"); - writer.println("\tunzip ${DISTDIR}/${P}-test.jar -d ${S}/${JAVA_TEST_SRC_DIR}"); + writer.println("\tunzip ${DISTDIR}/${P}-test.jar -d ${S}/${JAVA_TEST_SRC_DIR} || die"); } writer.println("}"); } |