mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
tools/docs/get_abi.py: fix get_abi library directory
changeseta5dd93016f("docs: move get_abi.py to tools/docs") moved the script location, but didn't update library location, causing it to fail. Fixes:a5dd93016f("docs: move get_abi.py to tools/docs") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <3839bc4db2d5c7e14dd2686876a2c7b5d72a46cd.1762523688.git.mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Jonathan Corbet
parent
d69a03a97a
commit
fc9e9a39cc
@@ -14,7 +14,7 @@ import sys
|
||||
|
||||
# Import Python modules
|
||||
|
||||
LIB_DIR = "lib/abi"
|
||||
LIB_DIR = "../../scripts/lib/abi"
|
||||
SRC_DIR = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
|
||||
|
||||
Reference in New Issue
Block a user