From: Roland Haeder Date: Mon, 21 Sep 2015 10:13:35 +0000 (+0200) Subject: added dist.sh for easy distribution of jar file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a7fc30aa15316c45ee1f694831920d28df8292f;p=jshop-receipt-lib.git added dist.sh for easy distribution of jar file Signed-off-by:Roland Häder --- 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