fix script
This commit is contained in:
parent
4f4a265482
commit
56c86d212c
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
out=`find . -name '*.java' -exec grep 'UmaJwtToken' /dev/null {} +`
|
out=`find . -name '*.java' -exec grep 'UmaJwtToken' /dev/null {} + || echo 'empty'`
|
||||||
if [[ -n "${out}" ]]; then
|
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
|
||||||
echo "UmaJwtToken class found in "
|
echo "UmaJwtToken class found in "
|
||||||
echo "${out}"
|
echo "${out}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue