diff --git a/functions/__antidote_get_cachedir b/functions/__antidote_get_cachedir index 114d93c..a3555f0 100644 --- a/functions/__antidote_get_cachedir +++ b/functions/__antidote_get_cachedir @@ -19,7 +19,7 @@ fi if [[ -n "$1" ]]; then - if [[ $result == *\\* ]]; then + if [[ $result == *\\* ]] && [[ $result != */* ]]; then result+="\\$1" else result+="/$1"