gCubeActions/27-01-2021-grepString/grepUmaJwtTokenPrvider.sh

9 lines
281 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2021-11-12 11:53:49 +01:00
out=`find . -name '*.java' -exec grep 'UmaJWTProvider' /dev/null {} + || echo 'empty'`
2021-11-12 11:25:45 +01:00
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
echo "UmaJwtToken class found in "
echo "${out}"
else
echo "UmaJwtToken class not found"
fi