diff options
author | Mark Allen <[email protected]> | 2016-05-12 16:14:21 -0500 |
---|---|---|
committer | Mark Allen <[email protected]> | 2016-05-12 16:14:21 -0500 |
commit | d8315197f0c2801e5c2d42b7f51dcd28c752b256 (patch) | |
tree | 626644b303926368079bf9a467c0415976d8ee55 | |
parent | 6d2daf42967e3b04ba39aaa8430ef2db0539bcab (diff) | |
download | kerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.tar.gz kerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.tar.bz2 kerl-d8315197f0c2801e5c2d42b7f51dcd28c752b256.zip |
On deletes, check build name or path
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |