Skip to content

Commit

Permalink
Build script: add conditionals to build on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeov committed Oct 1, 2024
1 parent 1e3855a commit df8de6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ install_maven() {
}

build_ubuntu() {
if [ x"$1" = x'22.04' ]; then
if [ x"$1" = x'22.04' -o x"$1" = x'24.04' ]; then
MYDEPS=$DEPS_UBUNTU22
elif [ x"$1" = x'14.04' -o x"$1" = x'16.04' ]; then
MYDEPS=$DEPS_UBUNTU14_16
Expand All @@ -199,7 +199,8 @@ build_ubuntu() {
$MYSUDO apt-get update
$MYSUDO /bin/bash -c \
"DEBIAN_FRONTEND='noninteractive' apt-get install -y $MYDEPS"
if [ x"$1" = x'18.04' -o x"$1" = x'20.04' -o x"$1" = x'22.04' ]; then
if [ x"$1" = x'18.04' -o x"$1" = x'20.04' -o x"$1" = x'22.04' \
-o x"$1" = x'24.04' ]; then
QFSHADOOP_VERSIONS=$MYQFSHADOOP_VERSIONS_UBUNTU1804
fi
if [ x"$1" = x'14.04' ]; then
Expand Down

0 comments on commit df8de6c

Please sign in to comment.