Fix: tools: Small fix with regards to path issue detection
This commit is contained in:
parent
2c84f3b46d
commit
8171fe73d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue