aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorMazen Harake <[email protected]>2016-07-18 15:07:00 +0200
committerMazen Harake <[email protected]>2016-07-20 08:50:12 +0200
commitb32487ee983b44c7ffffa1cb96594f9d8bc13fd3 (patch)
tree6bbf7d41a02424ea2130cff292490dc7127fd394 /kerl
parent1f78af4823b56e00dc33c9847128450ddf07509f (diff)
downloadkerl-b32487ee983b44c7ffffa1cb96594f9d8bc13fd3.tar.gz
kerl-b32487ee983b44c7ffffa1cb96594f9d8bc13fd3.tar.bz2
kerl-b32487ee983b44c7ffffa1cb96594f9d8bc13fd3.zip
Fix issue #88
kerl prompt now correctly displays the intended version
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 242829d..5f5d5b7 100755
--- a/kerl
+++ b/kerl
@@ -1122,7 +1122,7 @@ get_active_path()
get_name_from_install_path()
{
if [ -f "$KERL_BASE_DIR"/otp_installations ]; then
- grep -F "$1" "$KERL_BASE_DIR"/otp_installations | cut -d ' ' -f 1
+ grep -E "$1$" "$KERL_BASE_DIR"/otp_installations | cut -d' ' -f1
fi
return 0
}