diff --git a/cryptest.sh b/cryptest.sh index 8d146de9..4187f8fb 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -527,6 +527,11 @@ else echo "Compiler:" $($CXX --version | head -1) | tee -a "$TEST_RESULTS" 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