We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd7a67 commit 1bf6edcCopy full SHA for 1bf6edc
pull-binary-libs.sh
@@ -2,6 +2,18 @@
2
#
3
# Script to pull binary artifacts for scala from the remote repository.
4
5
+# Avoid corrupting the jar cache in ~/.sbt and the ugly crash when curl is not installed
6
+# This affects Linux systems mostly, because wget is the default download tool and curl
7
+# is not installed at all.
8
+curl --version &> /dev/null
9
+if [ $? -ne 0 ]
10
+then
11
+ echo ""
12
+ echo "Please install curl to download the jar files necessary for building Scala."
13
14
+ exit 1
15
+fi
16
+
17
. $(dirname $0)/tools/binary-repo-lib.sh
18
19
# TODO - argument parsing...
0 commit comments