Commit 3269028c authored by Markus Frosch's avatar Markus Frosch 😱

rpm: Improve devtoolset detection for cmake

This failed when SCLs were present, but no devtoolset-*
parent 029f30c6
Pipeline #3567 passed with stage
in 18 seconds
......@@ -157,7 +157,7 @@ preconfigure_ccache() {
devtoolsets=''
if [ -d /opt/rh ]; then
devtoolsets="$(cd /opt/rh && ls -d devtoolset-*)"
if devtoolsets="$(cd /opt/rh && ls -d devtoolset-*)"; then
for devtoolset in $devtoolsets; do
patch_scl_ccache "$devtoolset" "${CCACHE_LINKS}"
......@@ -165,6 +165,7 @@ preconfigure_ccache() {
compilers+=("${extra_compilers[@]}")
done
fi
fi
echo 'Preparing/Repairing ccache symlinks...'
(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment