aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2016-05-12 16:14:21 -0500
committerMark Allen <[email protected]>2016-05-12 16:14:21 -0500
commitd8315197f0c2801e5c2d42b7f51dcd28c752b256 (patch)
tree626644b303926368079bf9a467c0415976d8ee55
parent6d2daf42967e3b04ba39aaa8430ef2db0539bcab (diff)
downloadkerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.tar.gz
kerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.tar.bz2
kerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.zip
On deletes, check build name or path
-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