dogtag-pki/sources-update.sh

13 lines
173 B
Bash
Raw Permalink Normal View History

2018-08-09 02:04:49 +00:00
#!/bin/sh
SOURCE=$1
TARGET=`basename $1`
cp $SOURCE $TARGET
sha512sum --tag $TARGET > sources
for FILENAME in $(ls *.jar)
do
sha512sum --tag $FILENAME >> sources
done