Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Close #20: Set HIVEMALL_HOME to absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyum authored and myui committed Jan 21, 2017
1 parent 38224bb commit ed16ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/build_xgboost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed16ca0

Please sign in to comment.