From: Matt Kraai Date: Wed, 22 Apr 2009 03:38:23 +0000 (-0700) Subject: kbuild: remove a tag file before it is regenerated X-Git-Tag: v3.0~9315^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9;p=platform%2Fkernel%2Flinux-amlogic.git 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: Matt Kraai Signed-off-by: Sam Ravnborg --- diff --git a/scripts/tags.sh b/scripts/tags.sh index 5bd8b10..4a34ec5 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -164,10 +164,12 @@ case "$1" in ;; "tags") + rm -f tags xtags ctags ;; "TAGS") + rm -f TAGS xtags etags ;; esac