You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/05/15 00:48:12 UTC
svn commit: r1338474 -
/incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh
Author: rvs
Date: Mon May 14 22:48:12 2012
New Revision: 1338474
URL: http://svn.apache.org/viewvc?rev=1338474&view=rev
Log:
BIGTOP-586. HBase package should provide a versionless symlink to a jar for other projects to depend upon
Modified:
incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh
Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh?rev=1338474&r1=1338473&r2=1338474&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/hbase/install_hbase.sh Mon May 14 22:48:12 2012
@@ -126,6 +126,9 @@ done
ln -s $ETC_DIR/conf $PREFIX/$LIB_DIR/conf
+# Make a symlink of hbase.jar to hbase-version.jar
+ln -s `cd $PREFIX/$LIB_DIR ; ls hbase*jar | grep -v tests.jar` $PREFIX/$LIB_DIR/hbase.jar
+
wrapper=$PREFIX/usr/bin/hbase
mkdir -p `dirname $wrapper`
cat > $wrapper <<EOF