summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg@mysql.com>2008-08-15 12:49:31 +0200
committerJoerg Bruehe <joerg@mysql.com>2008-08-15 12:49:31 +0200
commit28e884d9e2642e018dd7fd3d0134c75d0b4d72cd (patch)
tree982f2c3d0ab04596318fb76aa7aa99684368263b /support-files
parente9067a66898ad9cb134ac8919ee4c63822e0e673 (diff)
parent182b2383347cca5c6870b3f574191d5984799f67 (diff)
downloadmariadb-git-28e884d9e2642e018dd7fd3d0134c75d0b4d72cd.tar.gz
Merge from main branch.
Diffstat (limited to 'support-files')
-rwxr-xr-xsupport-files/build-tags7
1 files changed, 5 insertions, 2 deletions
diff --git a/support-files/build-tags b/support-files/build-tags
index d5f9fbf5100..6c80d2638e9 100755
--- a/support-files/build-tags
+++ b/support-files/build-tags
@@ -2,8 +2,11 @@
rm -f TAGS
filter='\.cc$\|\.c$\|\.h$\|\.yy$'
-files=`bk -r sfiles -gU | grep $filter `
-for f in $files ;
+
+list="find . -type f"
+bzr root >/dev/null 2>/dev/null && list="bzr ls --kind=file --versioned"
+
+$list |grep $filter |while read f;
do
etags -o TAGS --append $f
done