mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
waf: Fix make etags
vlendec@host:~/git/s3> make etags WAF_MAKE=1 ./buildtools/bin/waf etags Running: etags $(find /home/vlendec/git/s3 -name "*.[ch]" | egrep -v \.inst\.) sh: /usr/bin/etags: Argument list too long 'etags' finished successfully (0.368s) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 19 18:56:53 CEST 2012 on sn-devel-104
This commit is contained in:
parent
6c74d960bc
commit
e43b745f21
2
wscript
2
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user