Fixed string substitution error

git-svn-id: http://munki.googlecode.com/svn/trunk@835 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-10-21 13:27:12 +00:00
parent 131d3873c9
commit d7c52a9434
+1 -1
View File
@@ -181,7 +181,7 @@ def copyPkginfoToRepo(pkginfo, subdirectory=""):
index = 0
while os.path.exists(pkginfo_path):
index += 1
pkginfo_name = "%s-%s__%s" % (pkginfo['name'], pkginfo['version'],
pkginfo_name = "%s-%s__%s%s" % (pkginfo['name'], pkginfo['version'],
index, pkginfo_ext)
pkginfo_path = os.path.join(destination_path, pkginfo_name)