aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorKenji Rikitake <[email protected]>2014-01-28 10:57:18 +0900
committerKenji Rikitake <[email protected]>2014-01-28 10:57:18 +0900
commit4142e67109738a9166501d21e14896ce42ba155a (patch)
tree57f3f6f1aee8972862093460ed2ed1159b5d9878 /kerl
parent69841dea4fadc95c4df51469104b8dbe9e51c862 (diff)
downloadkerl-4142e67109738a9166501d21e14896ce42ba155a.tar.gz
kerl-4142e67109738a9166501d21e14896ce42ba155a.tar.bz2
kerl-4142e67109738a9166501d21e14896ce42ba155a.zip
Update kerl
* Let get_active_path to use $REBAR_PLT_DIR for the current active installation path
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerl b/kerl
index dd3072d..bc346c0 100755
--- a/kerl
+++ b/kerl
@@ -645,8 +645,8 @@ update_usage()
get_active_path()
{
- if [ -n "$_KERL_SAVED_PATH" ]; then
- echo $PATH | cut -d ":" -f 1 | sed 's/\(.*\)..../\1/'
+ if [ -n "$REBAR_PLT_DIR" ]; then
+ echo $REBAR_PLT_DIR
fi
return 0
}