updatelayouts.py: consider citeengines.

This commit is contained in:
Juergen Spitzmueller 2017-10-13 16:08:23 +02:00
parent 5997b60da1
commit 69b03d2545

View File

@ -21,8 +21,11 @@ from layout2layout import main as layout2layout
def main(argv):
toolsdir = os.path.dirname(argv[0])
layoutdir = os.path.join(toolsdir, '../../lib/layouts')
os.chdir(layoutdir)
dirs = []
dirs.append(os.path.join(toolsdir, '../../lib/layouts'))
dirs.append(os.path.join(toolsdir, '../../lib/citeengines'))
for directory in dirs:
os.chdir(directory)
for i in os.listdir("."):
(base, ext) = os.path.splitext(i)
if ext == ".old":