You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2017/01/21 04:52:38 UTC

incubator-hivemall git commit: Close #20: Set HIVEMALL_HOME to absolute path

Repository: incubator-hivemall
Updated Branches:
  refs/heads/master 38224bb23 -> ed16ca002


Close #20: Set HIVEMALL_HOME to absolute path


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

Branch: refs/heads/master
Commit: ed16ca002e3d61f1a3b30e35487fa45e603d4f59
Parents: 38224bb
Author: Yuming Wang <wg...@gmail.com>
Authored: Sat Jan 21 13:52:12 2017 +0900
Committer: myui <yu...@gmail.com>
Committed: Sat Jan 21 13:52:12 2017 +0900

----------------------------------------------------------------------
 bin/build_xgboost.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/ed16ca00/bin/build_xgboost.sh
----------------------------------------------------------------------
diff --git a/bin/build_xgboost.sh b/bin/build_xgboost.sh
index 9ba201f..29069b9 100755
--- a/bin/build_xgboost.sh
+++ b/bin/build_xgboost.sh
@@ -27,9 +27,9 @@ XGBOOST_HASHVAL='7ab15a0b31c870c7779691639f521df3ccd4a56e'
 # Move to a top directory
 if [ "$HIVEMALL_HOME" == "" ]; then
   if [ -e ../bin/${0##*/} ]; then
-    HIVEMALL_HOME=".."
+    HIVEMALL_HOME=`pwd`/..
   elif [ -e ./bin/${0##*/} ]; then
-    HIVEMALL_HOME="."
+    HIVEMALL_HOME=`pwd`
   else
     echo "env HIVEMALL_HOME not defined"
     exit 1