File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ rm -rf "$build_dir"
23
23
mkdir -p " $build_dir "
24
24
cd " $build_dir "
25
25
26
- # When building the packages for Ubuntu 12.04, we need a newer version of CMake
27
- # than what's available via the packages (we need 2.8.10+ for
26
+ # When building the packages for Debian 7 or Ubuntu 12.04, we need a newer
27
+ # version of CMake than what's available via the packages (we need 2.8.10+ for
28
28
# ExternalProject_Add URL_HASH compatibility).
29
- if [[ " ${ID:- } " == " ubuntu" && " ${VERSION_ID:- } " == " 12.04" ]]; then
29
+ if [[ " ${ID:- } " == " debian " && " ${VERSION_ID :- } " == " 7 " ]] || [[ " ${ID :- } " == " ubuntu" && " ${VERSION_ID:- } " == " 12.04" ]]; then
30
30
if [[ ! -e " $build_dir /build/work/cmake-3.4.3/bin/cmake" ]]; then
31
31
mkdir -p " $build_dir /build/work/cmake-3.4.3"
32
32
curl -L " https://cmake.org/files/v3.4/cmake-3.4.3-Linux-x86_64.tar.gz" | tar --strip-components 1 -C " $build_dir /build/work/cmake-3.4.3" -xz
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ elif [ -f /etc/debian_version ]; then
154
154
openjdk-$openjdk_version -jdk
155
155
)
156
156
157
- if [[ " $ID " == " ubuntu" && " $VERSION_ID " == " 16.04" ]]; then
157
+ if [[ " $ID " == " debian " && " $VERSION_ID " == " 8 " ]] || [[ " $ID " == " ubuntu" && " $VERSION_ID " == " 16.04" ]]; then
158
158
core_build_dependencies+=(" libtool-bin" )
159
159
fi
160
160
else
You can’t perform that action at this time.
0 commit comments