suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

DEPTH has an incorrect value when the --depth is not above all paths of interest #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example:
If you are currently in bob/joe:
 gyp.common.RelativePath('./', '../../jim/sam/paul/smith')
currently yields: ../../../.. which is wrong.
It should yield: ../../bob/joe

The result is a bunch of spurious ..s in paths if your project happens to be 
laid out this way.

Original issue reported on code.google.com by bradnel...@google.com on 6 Oct 2009 at 1:33

GoogleCodeExporter commented 9 years ago

Original comment by bradnel...@google.com on 8 Oct 2009 at 1:01