Skip to content
Permalink
Newer
Older
100755 16 lines (14 sloc) 490 Bytes
3
dir=`dirname "$0"`
4
echo "Downloading midPoint 3.9-SNAPSHOT"
5
echo "-----------------------------------------"
6
curl --output $dir/midpoint-3.9-SNAPSHOT-dist.tar.gz "https://evolveum.com/downloads/midpoint-tier/midpoint-3.9-SNAPSHOT-dist.tar.gz"
7
echo "-----------------------------------------"
8
echo "Checking the download..."
9
if tar -tf $dir/midpoint-3.9-SNAPSHOT-dist.tar.gz >/dev/null; then
11
exit 0
12
else
13
echo "The file was not downloaded correctly"
14
exit 1
You can’t perform that action at this time.