From: Roland Haeder Date: Mon, 21 Sep 2015 10:02:29 +0000 (+0200) Subject: added dist.sh for easy distribution (if the jar has been directly used) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a0dd895d73cff03cff237d3f9df79f7d595f9be;p=jcore-logger-lib.git added dist.sh for easy distribution (if the jar has been directly used) Signed-off-by:Roland Häder --- diff --git a/dist.sh b/dist.sh new file mode 100644 index 0000000..b3487d7 --- /dev/null +++ b/dist.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +NAME="jcore-logger-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