~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/bzr-win32-bdist-postinstall.py

  • Committer: Alexander Belchenko
  • Date: 2006-12-14 17:46:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2192.
  • Revision ID: bialix@ukr.net-20061214174644-byo0oj708p1s0t8z
Bugfix #71681: python-based installer postinstall script:
creating bzr.bat for Python installed at C:\Program Files\PythonXX\

Also remove custom title from python-based installer,
otherwise Add/Remove Programs dialog don't show bzr version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
            batch_str = ("@SET BZR_HOME=" + _quoted_path(bzr_home) + "\n" +
83
83
                         batch_str)
84
84
 
85
 
        batch_path = script_path + ".bat"
 
85
        batch_path = os.path.join(scripts_dir, "bzr.bat")
86
86
        f = file(batch_path, "w")
87
87
        f.write(batch_str)
88
88
        f.close()