From ce5d039539b4d1f653bb3d54385a59ea076c2e17 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 18 Jun 2007 16:40:03 -0700 Subject: [PATCH] LSR: update buildscript for new directories. --- buildscripts/makelsr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildscripts/makelsr.py b/buildscripts/makelsr.py index 6b72bbebee..31f630f885 100755 --- a/buildscripts/makelsr.py +++ b/buildscripts/makelsr.py @@ -4,7 +4,8 @@ import os import os.path import shutil -dirs = ['ancient','chords','connecting','contemporary','expressive','education','guitar','parts','pitch','repeats','scheme','spacing','staff','text','vocal','other'] +dirs = +['ancient','chords','connecting','contemporary','expressive','education','guitar','parts','pitch','repeats','scheme','spacing','staff','text','vocal','other','non-music','engravers','instrument-specific'] notsafe=[] try: @@ -45,8 +46,7 @@ for dir in dirs: file_names = os.listdir (destdir) for file in file_names: if (file.endswith ('.ly')): - if (file[:3] != 'AAA'): - os.remove( os.path.join(destdir,file) ) + os.remove( os.path.join(destdir,file) ) ## copy in new files from LSR download copy_dir_with_test( srcdir, destdir ) ## copy in new files in source tree -- 2.39.5