From ebb958af75534fe81b2b3c99cb0137722a17214b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 23 Jan 2024 02:57:38 +0000 Subject: [gh actions] simplify code git-svn-id: svn://tug.org/texlive/trunk@69547 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/.github/scripts/build-tl.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Build/source/.github/scripts') diff --git a/Build/source/.github/scripts/build-tl.sh b/Build/source/.github/scripts/build-tl.sh index b966800b216..6b9779482c0 100755 --- a/Build/source/.github/scripts/build-tl.sh +++ b/Build/source/.github/scripts/build-tl.sh @@ -39,6 +39,7 @@ then yum update -y yum install -y centos-release-scl yum install -y devtoolset-9 fontconfig-devel libX11-devel libXmu-devel libXaw-devel + . /opt/rh/devtoolset-9/enable ;; alpine) apk update @@ -54,15 +55,6 @@ then echo "Unsupported build system: $buildsys" >&2 exit 1 esac - - - # for CentOS we need to activate gcc-9 - if [ -f /opt/rh/devtoolset-9/enable ] - then - # we cannot call scl enable devtoolset-9 here since we need - # the settings in the running shell - . /opt/rh/devtoolset-9/enable - fi fi if [[ "$STEPS" == *,build,* ]] -- cgit v1.2.3