]> git.mxchange.org Git - jcore.git/commitdiff
Better this way.
authorRoland Haeder <roland@mxchange.org>
Thu, 3 Sep 2015 13:52:57 +0000 (15:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 3 Sep 2015 13:52:57 +0000 (15:52 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
dist.sh

diff --git a/dist.sh b/dist.sh
index 1d999f1c99a30aac53757e374017c0a6f101fc05..b4b941cf3bf415f2bf32dd2d93103dc07d924110 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -1,8 +1,9 @@
 #!/bin/sh
 
-LIST=`find ../*/lib/jcore.jar`
+NAME="jcore"
+LIST=`find ../*/lib/${NAME}.jar`
 
 for entry in ${LIST};
 do
-       cp -v dist/jcore.jar ${entry}
+       cp -v dist/${NAME}.jar ${entry}
 done