You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2014/01/06 07:19:51 UTC

git commit: nodejs: add NODE_PATH

Updated Branches:
  refs/heads/master 6bac11f4f -> f16128255


nodejs: add NODE_PATH


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/f1612825
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/f1612825
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/f1612825

Branch: refs/heads/master
Commit: f1612825584e219ff02f601da6691eae67e0878f
Parents: 6bac11f
Author: Roger Meier <ro...@apache.org>
Authored: Mon Jan 6 07:19:09 2014 +0100
Committer: Roger Meier <ro...@apache.org>
Committed: Mon Jan 6 07:19:09 2014 +0100

----------------------------------------------------------------------
 lib/nodejs/examples/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/f1612825/lib/nodejs/examples/Makefile
----------------------------------------------------------------------
diff --git a/lib/nodejs/examples/Makefile b/lib/nodejs/examples/Makefile
index b4283dc..87157db 100644
--- a/lib/nodejs/examples/Makefile
+++ b/lib/nodejs/examples/Makefile
@@ -18,7 +18,7 @@ all:
 	../../../compiler/cpp/thrift --gen js:node user.thrift
 
 server: all	
-	NODE_PATH=../lib:../lib/thrift node server.js
+	NODE_PATH=../lib:../lib/thrift:$(NODE_PATH) node server.js
 
 client: all	
-	NODE_PATH=../lib:../lib/thrift node client.js
+	NODE_PATH=../lib:../lib/thrift:$(NODE_PATH) node client.js