]> git.mxchange.org Git - jcore-logger-lib.git/commitdiff
added dist.sh for easy distribution (if the jar has been directly used)
authorRoland Haeder <roland@mxchange.org>
Mon, 21 Sep 2015 10:02:29 +0000 (12:02 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 21 Sep 2015 10:02:29 +0000 (12:02 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

dist.sh [new file with mode: 0644]

diff --git a/dist.sh b/dist.sh
new file mode 100644 (file)
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