Fix: DIB_RELEASE is not defined on CentOS
Otherwise an "unbound variable" error is thrown. Change-Id: I1e29cce101e44fc82e27b5e7986101847be0da8d
This commit is contained in:
parent
76e8224136
commit
2f30d6a3a7
|
@ -17,7 +17,7 @@ if [ "$RETURN_CODE" != "200" ]; then
|
|||
echo "http://www.scala-lang.org is unreachable" && exit 1
|
||||
fi
|
||||
|
||||
if [ "trusty" == "${DIB_RELEASE}" ]; then
|
||||
if [ "trusty" == "${DIB_RELEASE:-}" ]; then
|
||||
# scale >= 2.12 for ubuntu depends on openjdk-8, not available on trusty
|
||||
VERSION=${DEF_VERSION}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue