Skip to content

Commit

Permalink
chore: fix bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed Sep 29, 2023
1 parent 6b76085 commit a04898c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/make_utils/run_use_case_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit a04898c

Please sign in to comment.