1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

wscript: Fix invalid escape sequences

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-03-02 16:43:26 +13:00 committed by Andrew Bartlett
parent 433247a792
commit d8d872e095

View File

@ -441,7 +441,7 @@ def etags(ctx):
'''build TAGS file using etags'''
from waflib import Utils
source_root = os.path.dirname(Context.g_module.root_path)
cmd = 'rm -f %s/TAGS && (find %s -name "*.[ch]" | egrep -v \.inst\. | xargs -n 100 etags -a)' % (source_root, source_root)
cmd = r'rm -f %s/TAGS && (find %s -name "*.[ch]" | egrep -v \.inst\. | xargs -n 100 etags -a)' % (source_root, source_root)
print("Running: %s" % cmd)
status = os.system(cmd)
if os.WEXITSTATUS(status):
@ -451,7 +451,7 @@ def ctags(ctx):
"build 'tags' file using ctags"
from waflib import Utils
source_root = os.path.dirname(Context.g_module.root_path)
cmd = 'ctags --python-kinds=-i $(find %s -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.) $(find %s -name "*.py")' % (source_root, source_root)
cmd = r'ctags --python-kinds=-i $(find %s -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.) $(find %s -name "*.py")' % (source_root, source_root)
print("Running: %s" % cmd)
status = os.system(cmd)
if os.WEXITSTATUS(status):