diff options
-rw-r--r-- | wine.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wine.eselect b/wine.eselect index 5eca19e..d39eef9 100644 --- a/wine.eselect +++ b/wine.eselect @@ -130,7 +130,7 @@ are_symlinks_valid() { local path=wine_${var} path=${!path} path=$(canonicalise "${path}") - if [[ "${file}" != "${path%/}"/* ]]; then + if ! [[ "${file}" =~ "${path%/}"(/*)? ]]; then write_error_msg "${symlink} points to ${file}" write_error_msg "which doesn't appear to be part of wine" return 1 |