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 8ee95ca..0329f7d 100755
--- a/kerl
+++ b/kerl
@@ -280,7 +280,7 @@ is_valid_installation()
while read -r l; do
name=$(echo "$l" | cut -d " " -f 1)
path=$(echo "$l" | cut -d " " -f 2)
- if [ "$path" = "$1" ]; then
+ if [ "$name" = "$1" -o "$path" = "$1" ]; then
if [ -f "$1"/activate ]; then
return 0
fi