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"
2323mkdir -p " $build_dir "
2424cd " $build_dir "
2525
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
2828# 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
3030 if [[ ! -e " $build_dir /build/work/cmake-3.4.3/bin/cmake" ]]; then
3131 mkdir -p " $build_dir /build/work/cmake-3.4.3"
3232 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
154154 openjdk-$openjdk_version -jdk
155155 )
156156
157- if [[ " $ID " == " ubuntu" && " $VERSION_ID " == " 16.04" ]]; then
157+ if [[ " $ID " == " debian " && " $VERSION_ID " == " 8 " ]] || [[ " $ID " == " ubuntu" && " $VERSION_ID " == " 16.04" ]]; then
158158 core_build_dependencies+=(" libtool-bin" )
159159 fi
160160else
You can’t perform that action at this time.
0 commit comments