Skip to content

Commit

Permalink
fix glob
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 16, 2024
1 parent 2791c5c commit a1581d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CI/dependencies/opengl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

os=$(spack arch --platform)

if [[ "$os" == ubuntu* ]]; then
if [[ "$os" == *ubuntu* ]]; then
${SUDO} apt-get update
${SUDO} apt-get install -y libgl1-mesa-dev
cat <<EOF > "$packages_file"
Expand All @@ -26,7 +26,7 @@ packages:
spec: [email protected]
EOF
cat "$packages_file"
elif [[ "$os" == almalinux* ]]; then
elif [[ "$os" == *almalinux* ]]; then
${SUDO} dnf install -y mesa-libGLU
cat <<EOF > "$packages_file"
packages:
Expand All @@ -37,4 +37,6 @@ packages:
spec: [email protected]
EOF
cat "$packages_file"
else [[ "$os" == *darwin* ]]
echo "Nothing to do on Darwin"
fi

0 comments on commit a1581d0

Please sign in to comment.