gcc-8.3-enable (230B)
1 #!/bin/sh 2 # use `. ~/.local/bin/gcc-8.3-enable` to add to environment 3 version=8.3.0 4 if [ ! -d /usr/local/gcc-${version}/bin ]; then 5 echo "gcc version $version not found" 6 exit 1 7 fi 8 export PATH=/usr/local/gcc-${version}/bin:$PATH