Skip to content

Commit 0366b5a

Browse files
authored
Update all.bats
1 parent 5c09805 commit 0366b5a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/jobs/configure-checks/all.bats

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ translate () {
2222
if [ "$distro_id" = "ID=fedora" ]; then
2323
args=${args/libcgroup-dev/libcgroup-devel}
2424
fi
25+
if [ "$distro_id" = "ID=arch" ]; then
26+
args=${args/libcgroup-dev/}
27+
fi
2528
echo "$args"
2629
}
2730

@@ -130,7 +133,7 @@ compile_assertions_finished () {
130133
}
131134

132135
@test "Install GNU C only" {
133-
if [ "$distro_id" = "ID=fedora" ]; then
136+
if [ "$distro_id" = "ID=fedora" ] || [ "$distro_id" = "ID=arch" ]; then
134137
# Fedora ships with a gcc with enough C++ support
135138
skip
136139
fi

0 commit comments

Comments
 (0)