Permalink
Browse files

Use relative path for zookeeper.node symlink

Change-Id: I1d062db4a58a076eaaf667785968df9342d834a3
  • Loading branch information...
1 parent 3716432 commit e317e12f40ef69a12010e2f28418d331b9d46d8d Devon Crouse committed Sep 20, 2013
Showing with 14 additions and 2 deletions.
  1. +1 −1 binding.gyp
  2. +12 −0 libzk-symlink.sh
  3. +1 −1 package.json
View
@@ -46,7 +46,7 @@
"action_name": "symlink",
"inputs": ["<@(PRODUCT_DIR)/zookeeper.node"],
"outputs": ["<(module_root_dir)/build/zookeeper.node"],
- "action": ["ln", "-s", "<@(PRODUCT_DIR)/zookeeper.node", "<(module_root_dir)/build/zookeeper.node"]
+ "action": ["sh", "libzk-symlink.sh", "<@(_inputs)"]
}]
}
],
View
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ $# -ne 1 ]
+then
+ echo "Usage: $0 <PRODUCT_DIR>"
+ exit 1
+fi
+
+PRODUCT_DIR=$1
+BUILD_TYPE=$(basename $(dirname $PRODUCT_DIR))
+
+ln -s $BUILD_TYPE/zookeeper.node build/zookeeper.node
View
@@ -1,7 +1,7 @@
{
"name": "zookeeper"
,"description": "apache zookeeper client (zookeeper async API >= 3.4.0)"
- ,"version": "3.4.5-1"
+ ,"version": "3.4.6-1"
,"author": "Yuri Finkelstein <yurif2003@yahoo.com>"
,"contributors": [
"Yuri Finkelstein <yurif2003@yahoo.com>"

0 comments on commit e317e12

Please sign in to comment.