projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d5ee6
)
kbuild: remove a tag file before it is regenerated
author
Matt Kraai
<
[email protected]
>
Wed, 22 Apr 2009 03:38:23 +0000
(20:38 -0700)
committer
Sam Ravnborg
<
[email protected]
>
Fri, 1 May 2009 08:54:02 +0000
(10:54 +0200)
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 <
[email protected]
>
Signed-off-by: Sam Ravnborg <
[email protected]
>
scripts/tags.sh
patch
|
blob
|
history
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index 5bd8b1003d446b1f4e80dd7e9a788685263a3a6e..4a34ec591e8c05f224f4900028f0e25f99e9eeba 100755
(executable)
--- 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