From e96ce81c7d911c3ccf6f67a1201de9a452e387df Mon Sep 17 00:00:00 2001 From: Konrad Kaplita Date: Thu, 7 Apr 2011 12:45:27 +0200 Subject: Fix 'kerl active' command on MacOSX --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 71b101f..02eade1 100755 --- a/kerl +++ b/kerl @@ -391,7 +391,7 @@ do_active() { if [ -n "$_KERL_SAVED_PATH" ]; then echo "The current active installation is:" - echo `echo $PATH | cut -d ":" -f 1 | head -c -4` + echo `echo $PATH | cut -d ":" -f 1 | sed 's/\(.*\)..../\1/'` return 0 else echo "No Erlang/OTP kerl installation is currently active" -- cgit v1.2.3