Kaydet (Commit) 04fa4b9e authored tarafından Jack Jansen's avatar Jack Jansen

Added a band-aid to make this script work with the older 2.3.0

buildtools if no destroot option is given. That makes life for the
additions installer a lot simpler.
üst f3609396
...@@ -99,9 +99,14 @@ def buildapplet(): ...@@ -99,9 +99,14 @@ def buildapplet():
if tp == 'APPL': if tp == 'APPL':
buildtools.update(template, filename, dstfilename) buildtools.update(template, filename, dstfilename)
else: else:
buildtools.process(template, filename, dstfilename, 1, if destroot:
rsrcname=rsrcfilename, others=extras, raw=raw, buildtools.process(template, filename, dstfilename, 1,
progress=verbose, destroot=destroot) rsrcname=rsrcfilename, others=extras, raw=raw,
progress=verbose, destroot=destroot)
else:
buildtools.process(template, filename, dstfilename, 1,
rsrcname=rsrcfilename, others=extras, raw=raw,
progress=verbose)
def usage(): def usage():
print "BuildApplet creates an application from a Python source file" print "BuildApplet creates an application from a Python source file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment