We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d151965 + f4ee279 commit 28808f3Copy full SHA for 28808f3
utils/make-sqlite.py
@@ -5,6 +5,7 @@
5
import glob
6
import locale
7
import os
8
+import re
9
import sqlite3
10
import subprocess
11
import sys
@@ -51,7 +52,8 @@
51
52
counted_lowercase_names = Counter([name.lower() for name in filenames])
53
most_common_entry = counted_lowercase_names.most_common(1)[0]
54
if most_common_entry[1] > 1:
- print("%s failed case-insensitivity testing." % (most_common_entry[0]))
55
+ dupe_filename = re.compile(re.escape(most_common_entry[0]), re.IGNORECASE)
56
+ print("%s failed case-insensitivity testing." % filter(dupe_filename.match, filenames))
57
print("Rules exist with identical case-insensitive names, which breaks some filesystems.")
58
sys.exit(1)
59
0 commit comments