From 799bd1a5039ee6250bdc48c7ff85797d699307ad Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Mon, 21 Nov 2016 17:38:07 +0100 Subject: Fix script choosing wrong artefact Depending on order, scripts might choose the wrong jar (i.e. test instead of non test). This commit addresses that by sedding away results which have `javadoc` or `tests` in the jar name --- bin/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/common b/bin/common index 3b7f226cb..1cb79fc14 100755 --- a/bin/common +++ b/bin/common @@ -58,7 +58,7 @@ function build_jar { local sedjar="$3" if [ "$sedjar" == "" ]; then - sedjar="/.*\.jar/p" + sedjar="/tests/d; /javadoc/d; /.*\.jar/p" fi if [ "$jar" == "" ]; then -- cgit v1.2.3