Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

thg: fix 'build_qt' auto-running when thg is symlinked into $PATH

Changeset 1595c10fb426

Parent f65fbdbc7762

by Steve Borho

Changes to one file · Browse files at 1595c10fb426 Showing diff from parent f65fbdbc7762 Diff from another changeset...

Change 1 of 1 Show Entire File thg Stacked
 
22
23
24
25
 
 
26
27
28
 
22
23
24
 
25
26
27
28
29
@@ -22,7 +22,8 @@
  sys.path.insert(0, thgpath)     # compile .ui and .qrc for in-place use - if os.path.exists(os.path.join(os.path.dirname(__file__), 'setup.py')): + fpath = os.path.realpath(__file__) + if os.path.exists(os.path.join(os.path.dirname(fpath), 'setup.py')):   from distutils.dist import Distribution   from setup import build_qt   build_qt(Distribution()).run()