From: Dave Peticolas <[email protected]>
---
scripts/faxien-auto-publish.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/faxien-auto-publish.py b/scripts/faxien-auto-publish.py
index 70c46d6..3cfea70 100755
--- a/scripts/faxien-auto-publish.py
+++ b/scripts/faxien-auto-publish.py
@@ -427,10 +427,10 @@ def get_application_dirs(erlang_dir):
return app_dirs
-def get_published_apps():
- """Return the current published apps."""
+def get_published_apps(version):
+ """Return the current published apps for the given erlang version."""
- cmd = ['faxien', 'search']
+ cmd = ['faxien', 'search', format_version(version), 'both', 'normal', '""']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
@@ -657,7 +657,7 @@ def main():
publish_dirs.insert(0, erts_dir)
- published_apps = get_published_apps()
+ published_apps = get_published_apps(version)
for pub_dir in publish_dirs:
appname = os.path.basename(pub_dir).split('-')[0]
--
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
-~----------~----~----~----~------~----~------~--~---