From a78b837b99d95a0f6e79aacf0803a066039d041f Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 9 Mar 2021 15:14:31 +0100 Subject: [PATCH] Update '27-01-2021-grepString/grepHomeLibrary.sh' removed quotes --- 27-01-2021-grepString/grepHomeLibrary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/27-01-2021-grepString/grepHomeLibrary.sh b/27-01-2021-grepString/grepHomeLibrary.sh index be518ee..ac7b7ee 100644 --- a/27-01-2021-grepString/grepHomeLibrary.sh +++ b/27-01-2021-grepString/grepHomeLibrary.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -out=`find . -name ‘pom.xml’ -exec grep ‘home-library’ /dev/null {} + || echo 'empty'` +out=`find . -name pom.xml -exec grep ‘home-library’ /dev/null {} + || echo 'empty'` if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then echo "${out}" echo “Home Library found"