aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2021-01-12 22:15:42 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-01-13 12:53:10 -0500
commit39ede12aa5b27376341df85bc9ec254913f044bd (patch)
treed079bfefe3a9010dd7d7a57dfe207d9b6532b8e8 /mesonbuild/mesonlib.py
parentccb15bc0e988f4e90b67606eaad9443c7ccac918 (diff)
downloadmeson-39ede12aa5b27376341df85bc9ec254913f044bd.zip
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.gz
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.bz2
Fix misspells
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r--mesonbuild/mesonlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index 2c1727b..ef48ec2 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -1597,7 +1597,7 @@ def relpath(path: str, start: str) -> str:
return path
def path_is_in_root(path: Path, root: Path, resolve: bool = False) -> bool:
- # Check wheter a path is within the root directory root
+ # Check whether a path is within the root directory root
try:
if resolve:
path.resolve().relative_to(root.resolve())