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 shift
ARGS="$1" ARGS="$1"
shift shift
VARIANT=$1 VARIANT="$1"
shift shift
if [ -n "$VARIANT" ]; then if [ -n "$VARIANT" ]; then
@ -45,6 +45,10 @@ print_version()
VERSION_STR=`echo "$VERSION_STR" | $FILTER` VERSION_STR=`echo "$VERSION_STR" | $FILTER`
done done
if [ -z "$VERSION_STR" ]; then
VERSION_STR="Version could not be determined."
fi
echo " * ${BIN##*/}$VARIANT: ${BIN} : ${VERSION_STR} " echo " * ${BIN##*/}$VARIANT: ${BIN} : ${VERSION_STR} "
} }
@ -61,6 +65,7 @@ fi
echo echo
print_version "uname" "-a" "" print_version "uname" "-a" ""
echo echo
echo echo
echo "** Tool Versions:" echo "** Tool Versions:"
@ -94,6 +99,15 @@ echo
print_version "gdb" "--version" "" "head -n 1" print_version "gdb" "--version" "" "head -n 1"
echo 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} : ${OPENSSL:=openssl}
print_version "$OPENSSL" "version" "default" print_version "$OPENSSL" "version" "default"
echo echo