From 7f8b40f012f616a69909fd620820fe90f4ffb067 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Feb 2011 09:49:39 +1100 Subject: build: fixed top level etags and ctags target Pair-Programmed-With: Andrew Bartlett --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 376bd0f400..66b56b571c 100644 --- a/wscript +++ b/wscript @@ -131,7 +131,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 = 'etags $(find %s -name "*.[ch]" | egrep -v \.inst\.)' % source_root print("Running: %s" % cmd) os.system(cmd) @@ -139,7 +139,7 @@ def ctags(ctx): "build 'tags' file using ctags" import Utils source_root = os.path.dirname(Utils.g_module.root_path) - cmd = 'ctags $(find %s/.. -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.)' % source_root + cmd = 'ctags $(find %s -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.)' % source_root print("Running: %s" % cmd) os.system(cmd) -- cgit