1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00

scripts: fix typo (#11396)

This commit is contained in:
Sebastiaan Speck 2023-11-06 13:31:28 +01:00 committed by GitHub
parent 91808f9cbe
commit c059eb1c19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ def get_tldr_root():
# If this script is running from tldr/scripts, the parent's parent is the root # If this script is running from tldr/scripts, the parent's parent is the root
f = os.path.normpath(__file__) f = os.path.normpath(__file__)
if f.endswith("tldr/scripts/set-more-info-link.py"): if f.endswith("tldr/scripts/set-alias-page.py"):
return os.path.dirname(os.path.dirname(f)) return os.path.dirname(os.path.dirname(f))
if "TLDR_ROOT" in os.environ: if "TLDR_ROOT" in os.environ: