Skip to content

Commit 36e090b

Browse files
committed
We need globs for bash
1 parent 170f36b commit 36e090b

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/jobs/configure-checks/setup_configure_image.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22

33
set -eux
44

5+
shopt -s extglob
6+
57
distro_id=$(grep "^ID=" /etc/os-release)
68

79
# Install everything for configure and testing
8-
shared="pkg-config make rst2pdf autoconf composer bats latexmk"
9-
shared2="$shared python3-{yaml,sphinx} php{,-{fpm,gd,cli,intl,mbstrin,mysql,curl,jsonxml,zip}"
10+
shared1="pkg-config make rst2pdf autoconf composer bats latexmk"
11+
shared2="$shared1 python3-{yaml,sphinx} php{,-{fpm,gd,cli,intl,mbstring,curl,json,xml,zip}}"
12+
shared=$(eval echo $shared2)
1013

1114
case $distro_id in
1215
"ID=fedora")
13-
dnf install $shared2 automake util-linux \
14-
python3-sphinx_rtd_theme texlive-cmap -y ;;
16+
dnf install $shared automake util-linux \
17+
python3-sphinx_rtd_theme php-mysqlnd texlive-cmap -y ;;
1518
*)
16-
apt-get update; apt-get full-upgrade -y
17-
apt-get install $shared2 \
18-
python3-sphinx-rtd-theme texlive-latex-{recommended,extra} tex-gyre -y ;;
19+
apt-get update; apt-get full-upgrade -y ;
20+
apt-get install $shared \
21+
python3-sphinx-rtd-theme php-mysql texlive-latex-{recommended,extra} tex-gyre -y ;;
1922
esac
2023

2124
# Build the configure file

0 commit comments

Comments
 (0)