Browse Source

Making sure node-waf finds its real bindir even when executed through a symlinked path.

v0.7.4-release
Standa Opichal 15 years ago
committed by Ryan Dahl
parent
commit
c2c0cfb75f
  1. 2
      bin/node-waf

2
bin/node-waf

@ -3,7 +3,7 @@ import os, sys
join = os.path.join
bindir = os.path.dirname(__file__)
bindir = os.path.dirname(os.path.realpath(__file__))
prefix = join(bindir, "..")
wafdir = join(prefix, "lib", "node")

Loading…
Cancel
Save