aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2009-04-21 20:38:23 -0700
committerSam Ravnborg <sam@ravnborg.org>2009-05-01 10:54:02 +0200
commit2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9 (patch)
tree617d9fd1a93447027aebb7bf7a9a04183e1bd1bd /scripts
parentc4d5ee67ce26503d7eaf2aca5bb13c58e89d1be8 (diff)
downloadkernel_samsung_espresso10-2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9.zip
kernel_samsung_espresso10-2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9.tar.gz
kernel_samsung_espresso10-2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9.tar.bz2
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 <kraai@ftbfs.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh2
1 files changed, 2 insertions, 0 deletions
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