Use program name variable instead of hardcoded name.

This allows easier reuse for other tools (like the theme editor).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26702 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-06-08 19:19:19 +00:00
parent e907a96d71
commit 47636e6382

View file

@ -434,8 +434,8 @@ def main():
ver = "v" + re.sub('^[^\d]+', '', tag)
else:
trunk = gettrunkrev(svnbase)
sourcefolder = workfolder + "/rbutil-r" + str(trunk) + "/"
archivename = "rbutil-r" + str(trunk) + "-src.tar.bz2"
sourcefolder = workfolder + "/" + program + "-r" + str(trunk) + "/"
archivename = program + "-r" + str(trunk) + "-src.tar.bz2"
ver = "r" + str(trunk)
os.mkdir(sourcefolder)
else: