mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:22:10 +02:00
scripts: fix typo (#11396)
This commit is contained in:
parent
91808f9cbe
commit
c059eb1c19
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def get_tldr_root():
|
|||
|
||||
# If this script is running from tldr/scripts, the parent's parent is the root
|
||||
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))
|
||||
|
||||
if "TLDR_ROOT" in os.environ:
|
||||
|
|
Loading…
Add table
Reference in a new issue