change find command
This commit is contained in:
parent
0d030cc4ce
commit
a759148f25
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
out=`find . -name '*.java' -exec grep '843339462' /dev/null {} +`
|
||||
out=`find . -type f -exec grep '843339462' /dev/null {} +`
|
||||
if [[ -n "${out}" ]]; then
|
||||
echo "token found in: "
|
||||
echo "${out}"
|
||||
|
|
Loading…
Reference in New Issue