Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 453 Bytes
#!/bin/bash
if [ ! -f nanopub.jar ]; then
echo "Downloading nanopub.jar file..."
wget -O nanopub.jar -nv https://github.com/Nanopublication/nanopub-java/releases/download/nanopub-1.18/nanopub-1.18-jar-with-dependencies.jar
fi
NP='java -jar nanopub.jar'
for F in FM_*.pre; do
echo "Processing $F..."
$NP mktrusty $F
done
for F in trusty.FM_*.pre; do
echo "Post-processing result $F..."
TEMP=${F#trusty.}
N=${TEMP%.pre}
mv $F $N
done
You can’t perform that action at this time.