I'm trying to automate a reinstallation of a Centos box with a script, and everything is working well except that when scl
is executed, the script terminates.
I use it to change the default g++ compiler to 8.
scl enable devtoolset-8 bash
How can I run scl without exiting my script?