From a04898c4fe274a6eafc580bf023e13bef6a576f9 Mon Sep 17 00:00:00 2001 From: jfrery Date: Fri, 29 Sep 2023 16:35:23 +0200 Subject: [PATCH] chore: fix bash --- script/make_utils/run_use_case_examples.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/make_utils/run_use_case_examples.sh b/script/make_utils/run_use_case_examples.sh index 369d144d67..60b3a450ea 100755 --- a/script/make_utils/run_use_case_examples.sh +++ b/script/make_utils/run_use_case_examples.sh @@ -12,7 +12,7 @@ fi echo "Running notebooks with PIP installed Concrete ML" -if [[ $(git ls-files --others --exclude-standard | grep ${USE_CASE_REL_DIR}) ]]; then +if git ls-files --others --exclude-standard | grep -q "${USE_CASE_REL_DIR}"; then echo "This script must be run in a clean clone of the Concrete ML repo" echo "This directory has untracked files in ${USE_CASE_REL_DIR}" echo "You can LIST all untracked files using: "