Index: packager.py |
=================================================================== |
--- a/packager.py |
+++ b/packager.py |
@@ -8,18 +8,18 @@ |
# packagers are implemented in packagerGecko and packagerChrome. |
import sys, os, re, codecs, subprocess, json, zipfile |
from StringIO import StringIO |
from chainedconfigparser import ChainedConfigParser |
import buildtools |
-def getDefaultFileName(baseDir, metadata, version, ext): |
- return os.path.join(baseDir, '%s-%s.%s' % (metadata.get('general', 'basename'), version, ext)) |
+def getDefaultFileName(metadata, version, ext): |
+ return '%s-%s.%s' % (metadata.get('general', 'basename'), version, ext) |
def getMetadataPath(baseDir, type): |
return os.path.join(baseDir, 'metadata.%s' % type) |
def readMetadata(baseDir, type): |
return ChainedConfigParser(getMetadataPath(baseDir, type)) |
def getBuildNum(baseDir): |