aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorTobias Johansson <tobias.j.e.johansson@gmail.com>2016-03-07 00:58:58 +0100
committerTobias Johansson <tobias.j.e.johansson@gmail.com>2016-03-07 01:14:46 +0100
commit87d57275e29be71d0c6634fac5471cc96f6b5017 (patch)
tree510aab270fba783c73ebe8fc4b24b1612a6e71ec /cbt
parent5488e70259e41884d0739ba56e5fecea46aab50a (diff)
downloadcbt-87d57275e29be71d0c6634fac5471cc96f6b5017.tar.gz
cbt-87d57275e29be71d0c6634fac5471cc96f6b5017.tar.bz2
cbt-87d57275e29be71d0c6634fac5471cc96f6b5017.zip
Rewrite Java 8 code in BootstrapScala.java in Java 7
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cbt b/cbt
index 1f8e3cc..d228e9f 100755
--- a/cbt
+++ b/cbt
@@ -39,8 +39,8 @@ if [ ! $javac_installed -eq 0 ]; then
fi
javac_version=$(javac -version 2>&1 | cut -d ' ' -f 2)
javac_version_minor=$(echo -n $javac_version | cut -d '.' -f 2)
-if [ ! "$javac_version_minor" -ge "8" ]; then
- echo "You need to install javac version 1.8 or greater! CBT currently relies on Java 8." 2>&1
+if [ ! "$javac_version_minor" -ge "7" ]; then
+ echo "You need to install javac version 1.7 or greater!" 2>&1
echo "Current javac version is $javac_version" 2>&1
exit 1
fi