From 0a7fc30aa15316c45ee1f694831920d28df8292f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 21 Sep 2015 12:13:35 +0200 Subject: [PATCH] =?utf8?q?added=20dist.sh=20for=20easy=20distribution=20of?= =?utf8?q?=20jar=20file=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- dist.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dist.sh diff --git a/dist.sh b/dist.sh new file mode 100644 index 0000000..3c40b88 --- /dev/null +++ b/dist.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +NAME="jshop-receipt-lib" +LIST=`find ../*/lib/${NAME}.jar` +LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`" + +for entry in ${LIST}; +do + cp -v dist/${NAME}.jar ${entry} +done -- 2.39.5