Don't log deletion of CSL locale support files during build

This commit is contained in:
Dan Stillman 2024-03-08 01:29:44 -05:00
parent 0478e66a47
commit af1aab3f0a

View file

@ -89,14 +89,14 @@ def main():
if not os.path.isdir(d): if not os.path.isdir(d):
raise FileNotFoundError(d + " not found") raise FileNotFoundError(d + " not found")
log("Deleting CSL locale support files") # Delete CSL locale support files
subprocess.check_call([ subprocess.check_call([
'find', 'find',
os.path.normpath(tmp_src_dir + '/chrome/content/zotero/locale/csl/'), os.path.normpath(tmp_src_dir + '/chrome/content/zotero/locale/csl/'),
'-mindepth', '1', '-mindepth', '1',
'!', '-name', '*.xml', '!', '-name', '*.xml',
'!', '-name', 'locales.json', '!', '-name', 'locales.json',
'-print', #'-print',
'-delete' '-delete'
]) ])