• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -ex
4
5[ -n "$DEVTOOLSET_VERSION" ]
6
7yum install -y centos-release-scl
8yum install -y devtoolset-$DEVTOOLSET_VERSION
9
10echo "source scl_source enable devtoolset-$DEVTOOLSET_VERSION" > "/etc/profile.d/devtoolset-$DEVTOOLSET_VERSION.sh"
11