[PATCH STABLE] setup/hg: handle hg being a symlink when appending relative libdir to sys.path

L. David Baron dbaron at dbaron.org
Thu Oct 21 17:11:22 CDT 2010


On Thursday 2010-10-21 17:03 -0500, Matt Mackall wrote:
> I haven't seen a clear explanation of what the issue is supposed to be.

I did:
  make all PREFIX=/usr/local/mercurial-NNN
  make install PREFIX=/usr/local/mercurial-NNN
  ln -s /usr/local/mercurial-NNN/bin/hg /usr/local/bin/hg

And then typing hg or /usr/local/bin/hg doesn't work, while typing
/usr/local/mercurial-NNN/bin/hg works.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/


More information about the Mercurial-devel mailing list