fix again the script
This commit is contained in:
parent
2393e09f4e
commit
e6f1f0a22d
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
out=`find . -name '*.java' -exec grep '-843339462' /dev/null {} +`
|
||||
if [[ -n "${out}" ]]; then
|
||||
echo "token found in: "
|
||||
out=`find . -name '*.java' -exec grep '843339462' /dev/null {} + || echo 'empty'`
|
||||
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
|
||||
echo "${out}"
|
||||
echo "token found"
|
||||
else
|
||||
echo "token not found"
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue