From: Joseph Sutton Date: Thu, 2 Mar 2023 03:43:26 +0000 (+1300) Subject: wscript: Fix invalid escape sequences X-Git-Tag: talloc-2.4.1~1534 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d872e09503fb6f636d7876573debcfa75c485e;p=thirdparty%2Fsamba.git wscript: Fix invalid escape sequences Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/wscript b/wscript index 7396e09c294..b219297f0e0 100644 --- a/wscript +++ b/wscript @@ -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):