diff --git a/18-05-22-grepString/grepHomeLibrary.sh b/18-05-22-grepString/grepHomeLibrary.sh index 5cfc271..5e7e926 100644 --- a/18-05-22-grepString/grepHomeLibrary.sh +++ b/18-05-22-grepString/grepHomeLibrary.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -out=`find . -name pom.xml -exec grep -E 'imagej|itext' /dev/null {} + || echo 'empty'` +out=`find . -name pom.xml -exec grep -E 'imagej|itext|jackrabbit-jcr-commons|jackrabbit-jcr-rmi-custom|jcr|jfile|tika-core|xstream|xmlpull|xml-apis|xpp3_min' /dev/null {} + || echo 'empty'` if [[ ["${out}" != "empty"] && "$(grep pom.xml <<< ${out})" ]]; then echo "${out}" echo "Home Library dep found"