texlive[69547] Build/source/.github/scripts/build-tl.sh: [gh actions]

commits+preining at tug.org commits+preining at tug.org
Tue Jan 23 03:57:38 CET 2024


Revision: 69547
          https://tug.org/svn/texlive?view=revision&revision=69547
Author:   preining
Date:     2024-01-23 03:57:38 +0100 (Tue, 23 Jan 2024)
Log Message:
-----------
[gh actions] simplify code

Modified Paths:
--------------
    trunk/Build/source/.github/scripts/build-tl.sh

Modified: trunk/Build/source/.github/scripts/build-tl.sh
===================================================================
--- trunk/Build/source/.github/scripts/build-tl.sh	2024-01-23 02:42:43 UTC (rev 69546)
+++ trunk/Build/source/.github/scripts/build-tl.sh	2024-01-23 02:57:38 UTC (rev 69547)
@@ -39,6 +39,7 @@
        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 @@
        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,* ]]



More information about the tex-live-commits mailing list.