Message239053
I think the problem here is that as the OP mentioned, win_add2path.py doesn't add the directory if it doesn't exist, so if you run it immediately after install, it won't add the directories that don't exist yet. And because it's setting the registry entries to make the path changes persistent, you only run it once and don't rerun it after those directories are created. Although if you did, that would fix the problem...
Maybe win_add2path.py should add the directories even if they don't exist? It only means removing the isdir check from the line
if path and path not in envpath and os.path.isdir(path):
I don't really have a feel for whether that would be a good idea. I guess the only harm would be a bit of clutter on %PATH%, and probably no-one cares about that... |
|
Date |
User |
Action |
Args |
2015-03-23 19:30:07 | paul.moore | set | recipients:
+ paul.moore, christian.heimes, tim.golden, BreamoreBoy, zach.ware, steve.dower, Emil.Styrke |
2015-03-23 19:30:07 | paul.moore | set | messageid: <1427139007.21.0.442097382846.issue16328@psf.upfronthosting.co.za> |
2015-03-23 19:30:07 | paul.moore | link | issue16328 messages |
2015-03-23 19:30:07 | paul.moore | create | |
|