]> Gentwo Git Trees - linux/.git/commitdiff
tools/docs/get_abi.py: fix get_abi library directory
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 7 Nov 2025 13:54:49 +0000 (14:54 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 10 Nov 2025 19:45:46 +0000 (12:45 -0700)
changeset a5dd93016f20 ("docs: move get_abi.py to tools/docs") moved
the script location, but didn't update library location, causing it
to fail.

Fixes: a5dd93016f20 ("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>

tools/docs/get_abi.py

index 7ce4748a46d20e130202abe12845f9edd99acb24..da69e77559cc3667c220c39ddc1560bebb9922f7 100755 (executable)
@@ -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))