Lines 457-462
Link Here
|
457 |
fi |
457 |
fi |
458 |
fi |
458 |
fi |
459 |
|
459 |
|
|
|
460 |
# Ensure that a config file for the requested profile exists and is readable. |
461 |
if [ ! -r /etc/env.d/gcc/${CC_COMP} ] |
462 |
then |
463 |
eerror "$0: No such profile: \"${CC_COMP}\" in /etc/env.d/gcc" 1>&2 |
464 |
exit 1 |
465 |
fi |
466 |
|
460 |
CC_COMP_NO_SPECS=$(echo ${CC_COMP} | awk -F- '{ print $1"-"$2"-"$3"-"$4"-"$5 }') |
467 |
CC_COMP_NO_SPECS=$(echo ${CC_COMP} | awk -F- '{ print $1"-"$2"-"$3"-"$4"-"$5 }') |
461 |
|
468 |
|
462 |
GCC_LIB="$(source /etc/env.d/gcc/${CC_COMP} |
469 |
GCC_LIB="$(source /etc/env.d/gcc/${CC_COMP} |