[PATCH] tools/docs/get_abi.py: fix get_abi library directory

Mauro Carvalho Chehab posted 1 patch 3 months ago
tools/docs/get_abi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tools/docs/get_abi.py: fix get_abi library directory
Posted by Mauro Carvalho Chehab 3 months ago
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
Re: [PATCH] tools/docs/get_abi.py: fix get_abi library directory
Posted by Jonathan Corbet 2 months, 4 weeks ago
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