changeset 2362:053cc8de9acb

remove platform aliases
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Wed, 18 Oct 2006 20:55:21 +0100
parents 5f5d627ef7a4
children 18ac9058ecb7
files lilypondorg.py
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lilypondorg.py	Wed Oct 18 18:45:23 2006 +0100
+++ b/lilypondorg.py	Wed Oct 18 20:55:21 2006 +0100
@@ -32,15 +32,6 @@
 host_binaries_spec = host_spec + '/download/binaries'
 host_doc_spec = host_spec + '/doc'
 
-def get_alias (p):
-    try:
-        return {
-            'linux-arm': 'arm',
-            'freebsd-x86': 'freebsd',
-            }[p]
-    except KeyError:
-        return p
-
 formats = {
     'darwin-ppc': 'tar.bz2',
     'darwin-x86': 'tar.bz2',
@@ -170,11 +161,9 @@
 
     barf = False
     for platform in platforms:
-        plat = get_alias (platform)
-        
         format = formats[platform]
         
-        base = 'lilypond-%(version_str)s-%(build)d.%(plat)s.%(format)s' % locals()
+        base = 'lilypond-%(version_str)s-%(build)d.%(platform)s.%(format)s' % locals()
         bin = 'uploads/%(base)s' % locals()
         
         if not os.path.exists (bin):