Merge pull request #3086 from sbutcher-arm/output-env-pylint

Add Python, Perl and Pylint to output_env.sh
This commit is contained in:
Jaeden Amero 2020-03-10 17:28:29 +04:00 committed by GitHub
commit 0bf6236be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ print_version()
shift
ARGS="$1"
shift
VARIANT=$1
VARIANT="$1"
shift
if [ -n "$VARIANT" ]; then
@ -45,6 +45,10 @@ print_version()
VERSION_STR=`echo "$VERSION_STR" | $FILTER`
done
if [ -z "$VERSION_STR" ]; then
VERSION_STR="Version could not be determined."
fi
echo " * ${BIN##*/}$VARIANT: ${BIN} : ${VERSION_STR} "
}
@ -61,6 +65,7 @@ fi
echo
print_version "uname" "-a" ""
echo
echo
echo "** Tool Versions:"
@ -94,6 +99,15 @@ echo
print_version "gdb" "--version" "" "head -n 1"
echo
print_version "perl" "--version" "" "head -n 2" "grep ."
echo
print_version "python" "--version" "" "head -n 1"
echo
print_version "pylint3" "--version" "" "sed /^.*config/d" "grep pylint"
echo
: ${OPENSSL:=openssl}
print_version "$OPENSSL" "version" "default"
echo