jubatus / jubatus-installer

Install Script of Jubatus
18 stars 17 forks source link

Eliminate abspaths in jubatus.profile. #32

Closed gwtnb closed 9 years ago

gwtnb commented 9 years ago

jubatus.profile with an abspath does not work when the diroctory is moved. https://github.com/jubatus/jubatus-installer/blob/master/install.sh#L281

We should replace the line like:

JUBATUS_HOME=\$(cd \`dirname $0\`; cd ../..; pwd)
kmaehashi commented 9 years ago

Moving the directory is not expected (at least when this was written). e.g., mecab's prefix is determined as $PREFIX/etc/mecab at compile time etc.