diff options
author | NP-Hardass <np.hardass@gmail.com> | 2017-09-15 01:58:59 -0400 |
---|---|---|
committer | NP-Hardass <np.hardass@gmail.com> | 2017-09-15 01:58:59 -0400 |
commit | f18b76f9c90c76dbe01fd08e2ca51dc1293189b3 (patch) | |
tree | ddaee37a7f26c4848c1ce7c7e7e84e638aa4a76f /wine.eselect | |
parent | wine.eselect: fix typo write_warning_message (diff) | |
download | eselect-wine-f18b76f9c90c76dbe01fd08e2ca51dc1293189b3.tar.gz eselect-wine-f18b76f9c90c76dbe01fd08e2ca51dc1293189b3.tar.bz2 eselect-wine-f18b76f9c90c76dbe01fd08e2ca51dc1293189b3.zip |
wine.eselect: Further expand are_symlinks_valid regex checkv1.2.2
Diffstat (limited to 'wine.eselect')
-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 |