summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index bceace1346..9caa673fed 100755
--- a/wscript
+++ b/wscript
@@ -173,7 +173,7 @@ def etags(ctx):
'''build TAGS file using etags'''
import Utils
source_root = os.path.dirname(Utils.g_module.root_path)
- cmd = 'etags $(find %s -name "*.[ch]" | egrep -v \.inst\.)' % source_root
+ cmd = 'rm -f %s/TAGS && (find %s -name "*.[ch]" | egrep -v \.inst\. | xargs -n 100 etags -a)' % (source_root, source_root)
print("Running: %s" % cmd)
os.system(cmd)