File: pull-binary-libs.sh

package info (click to toggle)
scala 2.11.12-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 62,828 kB
  • sloc: javascript: 28,808; java: 13,415; xml: 3,250; sh: 1,620; python: 756; makefile: 38; awk: 36; ansic: 6
file content (20 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
#
# Script to pull binary artifacts for scala from the remote repository.

# Avoid corrupting the jar cache in ~/.sbt and the ugly crash when curl is not installed 
# This affects Linux systems mostly, because wget is the default download tool and curl
# is not installed at all.
curl --version &> /dev/null
if [ $? -ne 0 ]
then
  echo ""
  echo "Please install curl to download the jar files necessary for building Scala."
  echo ""
  exit 1
fi

. $(dirname $0)/tools/binary-repo-lib.sh

# TODO - argument parsing...
pullJarFiles $(pwd)