Subject: | "Failed to find share dir" when run inside the distribution directory |
If run inside the distribution directory the $path in line 40 becomes:
'lib/Name' and this does not match the pattern
s!(\S.*?)[\\/]?\bb?lib\b.*!$1!
in line 42, because the part to be matched by (\S.*?) is empty.