Add info on full compiler pathname

pull/200/head
Jeffrey Walton 2016-06-18 13:44:52 -04:00
parent 73c8119141
commit f2bc155a09
1 changed files with 5 additions and 0 deletions

View File

@ -527,6 +527,11 @@ else
echo "Compiler:" $($CXX --version | head -1) | tee -a "$TEST_RESULTS" echo "Compiler:" $($CXX --version | head -1) | tee -a "$TEST_RESULTS"
fi fi
CXX_PATH=$(which $CXX)
CXX_SYMLINK=$(ls -l "$CXX_PATH" 2>/dev/null | $GREP -c '\-\>' | $AWK '{print $1}')
if [[ ("$CXX_SYMLINK" -ne "0") ]]; then CXX_PATH="$CXX_PATH (symlinked)"; fi
echo "Pathname: $CXX_PATH"
############################################ ############################################
# Keep noise to a minimum # Keep noise to a minimum