On Tue, 2012-06-12 at 10:26 -0700, Brian C. Lane wrote: > From: "Brian C. Lane" <bcl@xxxxxxxxxx> > > --- > scripts/makeupdates | 11 ++++++++++- > 1 files changed, 10 insertions(+), 1 deletions(-) > > diff --git a/scripts/makeupdates b/scripts/makeupdates > index e0aaa39..b43100f 100755 > --- a/scripts/makeupdates > +++ b/scripts/makeupdates > @@ -101,6 +101,13 @@ def copyUpdatedFiles(tag, updates, cwd): > > return lst > > + def install_to_dir(fname, relpath): > + sys.stdout.write("Including %s\n" % fname) > + outdir = os.path.join(updates, relpath) > + if not os.path.isdir(outdir): > + os.makedirs(outdir) > + shutil.copy2(file, outdir) > + > subdirs = [] > > lines = doGitDiff(tag) > @@ -121,7 +128,9 @@ def copyUpdatedFiles(tag, updates, cwd): > file.endswith('.sh') or file == 'configure.ac': > continue > > - if file.startswith('pyanaconda/'): > + if file.endswith('.ui'): > + install_to_dir(file, "spokes") Maybe that should be if "/spokes/" in file and file.endswith(".ui"): so all the ui files don't end up in spokes/ > + elif file.startswith('pyanaconda/'): > sys.stdout.write("Including %s\n" % (file,)) > update_filename = os.path.realpath(os.path.join(updates, file)) > update_dir = os.path.dirname(update_filename) _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list