summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-04-21 01:00:54 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-04-21 01:00:54 +0000
commit8c11e4050ec49ee0e117f785845da5965fe10366 (patch)
tree90a2bbc78326c5aaf9610b8e5c0fdfdcb9dc953e /libc
parent416f64f45a90f3d6c4c27425caf27dae517fa7a8 (diff)
parent681b3a2c3b28b8acdcd07513097a578c39f5c18d (diff)
Snap for 7298338 from 681b3a2c3b28b8acdcd07513097a578c39f5c18d to sc-d1-release
Change-Id: I0250d84e4869a97ca192f6b3748501c5fcce9b0b
Diffstat (limited to 'libc')
-rwxr-xr-xlibc/tools/generate_notice.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/tools/generate_notice.py b/libc/tools/generate_notice.py
index e4318b2b5..e004d74e9 100755
--- a/libc/tools/generate_notice.py
+++ b/libc/tools/generate_notice.py
@@ -38,6 +38,9 @@ def is_interesting(path_str: str) -> bool:
return False
if path.name in {"notice", "readme", "pylintrc"}:
return False
+ # Backup files for some editors.
+ if path.match("*~"):
+ return False
return True