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