tools/docs/get_abi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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>
---
tools/docs/get_abi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/docs/get_abi.py b/tools/docs/get_abi.py
index 7ce4748a46d2..da69e77559cc 100755
--- a/tools/docs/get_abi.py
+++ b/tools/docs/get_abi.py
@@ -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))
--
2.51.1
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
> 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>
> ---
> tools/docs/get_abi.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/docs/get_abi.py b/tools/docs/get_abi.py
> index 7ce4748a46d2..da69e77559cc 100755
> --- a/tools/docs/get_abi.py
> +++ b/tools/docs/get_abi.py
> @@ -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__))
Sigh ... I was sure I had tested it ... evidently not.
Applied, thanks.
jon
© 2016 - 2026 Red Hat, Inc.