It's on the auto-publish branch. Martin Logan wrote: > Dave, what repo/branch can I pull this from > > On Fri, Sep 5, 2008 at 11:59 PM, <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > From: Dave Peticolas <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > --- > scripts/faxien-auto-publish.py | 9 +++++---- > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/scripts/faxien-auto-publish.py > b/scripts/faxien-auto-publish.py > index cd43f47..b4e988d 100755 > --- a/scripts/faxien-auto-publish.py > +++ b/scripts/faxien-auto-publish.py > @@ -471,9 +471,10 @@ def get_published_apps(): > > > BINARY_FILE_EXTENSIONS = ["cmx", "py", "bat", "exe", "so"] > -BINARY_FILE_REGEX = [ ".* executable .*", > - ".* shared object .*", > - ".* dynamically linked .*" ] > +BINARY_FILE_REGEX = ["executable", > + "shared object", > + "dynamically linked", > + "ar archive"] > > def get_file_type(filename): > from subprocess import Popen, PIPE > @@ -499,7 +500,7 @@ def is_binary_lib(app_dir): > # a value that matches one of a list of regexs > file_type = get_file_type(os.path.join(root, name)) > for r in BINARY_FILE_REGEX: > - if re.match(r, file_type): > + if re.search(r, file_type): > return True > > # Finally, check .ebin file and see if there is a > {force_binary_app, true} present > -- > 1.5.6.5 <http://1.5.6.5> > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlware-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlware-dev?hl=en -~----------~----~----~----~------~----~------~--~---
