2021-03-09 14:53:37 +01:00
|
|
|
#!/usr/bin/env bash
|
2021-03-09 15:27:58 +01:00
|
|
|
out=`find . -name pom.xml -exec grep 'home-library' /dev/null {} + || echo 'empty'`
|
|
|
|
if [[ ["${out}" != "empty"] && "$(grep pom.xml <<< ${out})" ]]; then
|
2021-03-09 14:53:37 +01:00
|
|
|
echo "${out}"
|
2021-03-09 15:23:03 +01:00
|
|
|
echo "Home Library found"
|
2021-03-09 14:53:37 +01:00
|
|
|
else
|
2021-03-09 15:23:03 +01:00
|
|
|
echo "Home Library not found"
|
2021-03-09 14:53:37 +01:00
|
|
|
fi
|