change extension search to properties

This commit is contained in:
Roberto Cirillo 2023-01-19 09:24:26 +01:00
parent d562b677df
commit 2068be200d
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
out=`find . -name "*.java" -exec grep '843339462' /dev/null {} + || echo 'empty'`
out=`find . -name "*.properties" -exec grep '843339462' /dev/null {} + || echo 'empty'`
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
echo "${out}"
echo "token found"