blob: 0eda3dc0630f8bec637c56402cd525a856b8040d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -dubr source/tools/node-waf waf/tools/node-waf
--- source/tools/node-waf 2012-10-26 00:49:32.000000000 +0400
+++ waf/tools/node-waf 2012-11-01 23:20:51.438482412 +0400
@@ -5,7 +5,11 @@
join = os.path.join
bindir = os.path.dirname(os.path.realpath(__file__))
prefix = join(bindir, "..")
-wafdir = join(prefix, "lib", "node")
+if os.environ.has_key('PREFIX_NODE'):
+ prefix = os.environ['PREFIX_NODE']
+else:
+ prefix = "/usr"
+wafdir = join(prefix, "share", "nodejs")
w = join(wafdir, 'wafadmin')
t = join(w, 'Tools')
|