From: Roland Haeder Date: Thu, 3 Sep 2015 13:52:57 +0000 (+0200) Subject: Better this way. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48fec9ec762e90c59b4e5a700ba23623280aa020;p=jcore.git Better this way. Signed-off-by: Roland Häder --- diff --git a/dist.sh b/dist.sh index 1d999f1..b4b941c 100755 --- 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