Skip to contentSkip to conversation

scripts/tags.sh: allow to use alternative ctags implementation

PATCH In review Masatake YAMATO 2 participants 2 messages May 29, 2025 – Jun 5, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/tags.sh: allow to use alternative ctags implementation

Some ctags implementations are available. With this change, You can specify your favorite one with CTAGS environment variable.

---
 scripts/tags.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tags.sh +1 -1
index 98680e9cd7be..99ce427d9a69 100755
@@ -344,7 +344,7 @@ case "$1" in
 
 	"tags")
 		rm -f tags
-		xtags ctags
+		xtags ${CTAGS:-ctags}
 		remove_structs=y
 		;;
 
Signature · 1 line
2.49.0
#1 lore raw
Quoted 5 lines · Masatake YAMATO

Some ctags implementations are available. With this change, You can specify your favorite one with CTAGS environment variable.

Applied to linux-kbuild.
Thanks.

Quoted 21 lines
---
 scripts/tags.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tags.sh +1 -2
index 98680e9cd7be..99ce427d9a69 100755
@@ -344,7 +344,7 @@ case "$1" in
 
        "tags")
                rm -f tags
-               xtags ctags
+               xtags ${CTAGS:-ctags}
                remove_structs=y
                ;;
 
--

2.49.0

Signature · 2 lines
Best Regards
Masahiro Yamada