Repository: bigtop
Updated Branches:
  refs/heads/master 0876d636e -> 4ac6f736d


BIGTOP-2162. phoenix-core-*-tests.jar should be located at $PHOENIX_HOME


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

Branch: refs/heads/master
Commit: 4ac6f736d81e9b790fad59aca235d53cb3a04fde
Parents: 0876d63
Author: Youngwoo Kim <[email protected]>
Authored: Thu Dec 3 11:09:16 2015 +0900
Committer: Youngwoo Kim <[email protected]>
Committed: Mon Dec 7 10:18:52 2015 +0900

----------------------------------------------------------------------
 bigtop-packages/src/common/phoenix/install_phoenix.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/4ac6f736/bigtop-packages/src/common/phoenix/install_phoenix.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/phoenix/install_phoenix.sh 
b/bigtop-packages/src/common/phoenix/install_phoenix.sh
index dca0066..0a85f74 100755
--- a/bigtop-packages/src/common/phoenix/install_phoenix.sh
+++ b/bigtop-packages/src/common/phoenix/install_phoenix.sh
@@ -115,18 +115,18 @@ install -d -m 0755 $PREFIX/var/lib/phoenix
 install -d -m 0755 $PREFIX/var/log/phoenix
 
 cp -ra $BUILD_DIR/{bin,lib} $PREFIX/$LIB_DIR/
+rm $PREFIX/$LIB_DIR/lib/phoenix-*.jar
 chmod 755 $PREFIX/$BIN_DIR/*.py
 cp -a $BUILD_DIR/*.jar $PREFIX/$LIB_DIR/
-cp -a $BUILD_DIR/examples $PREFIX/$DOC_DIR
-
+cp -a $BUILD_DIR/lib/phoenix-*.jar $PREFIX/$LIB_DIR/
 # Remove sources jar
-rm $PREFIX/$LIB_DIR/lib/phoenix-*-sources.jar
+rm $PREFIX/$LIB_DIR/phoenix-*-sources.jar
+cp -a $BUILD_DIR/examples $PREFIX/$DOC_DIR
 
 # Remove the executable bit from jars to avoid lintian warnings
 find $PREFIX/$LIB_DIR -name '*.jar' -exec chmod a-x {} \;
 
 # Create version independent symlinks
-
 # phoenix-client for clients like sqlline
 ln -s `cd $PREFIX/$LIB_DIR ; ls phoenix*-client.jar | grep -v thin` 
$PREFIX/$LIB_DIR/phoenix-client.jar
 

Reply via email to