This commit is contained in:
Jonathan Campbell
2020-03-05 18:24:50 -08:00
parent 6c294b9134
commit c8ab99106c

View File

@@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
# #
# Look for GCC-7.5 # Look for GCC-9.2
x=`which gcc-7.5 2>/dev/null` x=`which gcc-9.2 2>/dev/null`
if [ -n "$x" ]; then if [ -n "$x" ]; then
gdir=`dirname $x` gdir=`dirname $x`
elif [ -f "/usr/gcc-7.5/bin/gcc" ]; then elif [ -f "/usr/gcc-9.2/bin/gcc" ]; then
gdir="/usr/gcc-7.5/bin" gdir="/usr/gcc-9.2/bin"
else else
echo Cannot find GCC 7.5 echo Cannot find GCC 9.2
exit 1 exit 1
fi fi