summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-04 09:49:39 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:01 +1100
commit7f8b40f012f616a69909fd620820fe90f4ffb067 (patch)
tree40de3cb84b125533c4706dc85918b83f5c55f6d9 /wscript
parentceb4b06c4337a64496d5ff6f87d5698b10509793 (diff)
downloadsamba-7f8b40f012f616a69909fd620820fe90f4ffb067.tar.gz
samba-7f8b40f012f616a69909fd620820fe90f4ffb067.tar.bz2
samba-7f8b40f012f616a69909fd620820fe90f4ffb067.zip
build: fixed top level etags and ctags target
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
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)