From c2c0cfb75f46ddcb3a0900f244966764d2640240 Mon Sep 17 00:00:00 2001 From: Standa Opichal Date: Tue, 9 Mar 2010 21:51:09 +0100 Subject: [PATCH] Making sure node-waf finds its real bindir even when executed through a symlinked path. --- bin/node-waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/node-waf b/bin/node-waf index bdc3373a5f..92f7bd8c0e 100755 --- a/bin/node-waf +++ b/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")