From 8171fe73d1a28fa1338dd0ebf5bfee04b75ce171 Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 14 Jan 2024 19:18:31 +0100 Subject: [PATCH] Fix: tools: Small fix with regards to path issue detection --- dev/tools/codespell/addCodespellIgnores.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tools/codespell/addCodespellIgnores.sh b/dev/tools/codespell/addCodespellIgnores.sh index 2aaa9eedb68..476c5ba287e 100755 --- a/dev/tools/codespell/addCodespellIgnores.sh +++ b/dev/tools/codespell/addCodespellIgnores.sh @@ -26,7 +26,7 @@ if [ -z "${0##*.sh}" ] ; then [ -r "${PROJECT_ROOT}/${codespell_ignore_file}" ] && break PROJECT_ROOT=$(dirname "${PROJECT_ROOT}") done - if [ "${PROJECT_ROOT}" == "" ] ; then + if [ "${PROJECT_ROOT}" == "/" ] ; then echo "Project root not found from '${script}'" exit 1 fi