Skip to content
Browse files

Minor cleanup in symlink script

Change-Id: I4ee40ed2532fdbcdf273769bfd187c10dc520b83
  • Loading branch information...
1 parent e317e12 commit 0829ea93d81685e97fc2c56dbf08dd1f7ec07c16 Devon Crouse committed Sep 19, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 libzk-symlink.sh
View
3 libzk-symlink.sh
@@ -7,6 +7,7 @@ then
fi
PRODUCT_DIR=$1
+FILE=$(basename $PRODUCT_DIR)
BUILD_TYPE=$(basename $(dirname $PRODUCT_DIR))
-ln -s $BUILD_TYPE/zookeeper.node build/zookeeper.node
+ln -s $BUILD_TYPE/$FILE build/$FILE

0 comments on commit 0829ea9

Please sign in to comment.
Something went wrong with that request. Please try again.