aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
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"