]> git.mxchange.org Git - jshop-receipt-lib.git/commitdiff
added dist.sh for easy distribution of jar file
authorRoland Haeder <roland@mxchange.org>
Mon, 21 Sep 2015 10:13:35 +0000 (12:13 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 21 Sep 2015 10:13:35 +0000 (12:13 +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..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