Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e6cb8b0 authored by Matt Kraai's avatar Matt Kraai Committed by Sam Ravnborg
Browse files

kbuild: remove a tag file before it is regenerated



If a tag file is not removed before it is regenerated, the newly
generated data is appended to the old, which preserves stale data and
makes the tag file grow over time.

Signed-off-by: default avatarMatt Kraai <kraai@ftbfs.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent c4d5ee67
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -164,10 +164,12 @@ case "$1" in
		;;

	"tags")
		rm -f tags
		xtags ctags
		;;

	"TAGS")
		rm -f TAGS
		xtags etags
		;;
esac