mirror of
https://github.com/LPJon/cwpfixes.git
synced 2026-09-10 22:20:47 -05:00
Update install_terminal
changed '' to "" on GCC installation "source" section to allow for $ input.
This commit is contained in:
@@ -31,7 +31,7 @@ yum-config-manager --disable centos-sclo-rh
|
||||
yum -y --enablerepo=centos-sclo-rh-testing install devtoolset-$gccversion-gcc devtoolset-$gccversion-gcc-c++
|
||||
gccenvcheck=$(cat /etc/profile | grep devtoolset-$gccversion)
|
||||
if [ -z "$gccenvcheck" ]; then
|
||||
echo 'source /opt/rh/devtoolset-$gccversion/enable' >> /etc/profile
|
||||
echo "source /opt/rh/devtoolset-$gccversion/enable" >> /etc/profile
|
||||
source /opt/rh/devtoolset-$gccversion/enable
|
||||
fi
|
||||
source /opt/rh/devtoolset-$gccversion/enable
|
||||
|
||||
Reference in New Issue
Block a user