find-package (FindPackage): extra check for valid pathname, excludes "/"
This commit is contained in:
parent
e56761c95f
commit
22854f6e29
@ -369,7 +369,7 @@ FindPackage()
|
||||
case "$r" in
|
||||
/*[!$valid]*)
|
||||
Info "$f: invalid pathname: $r" ;;
|
||||
/*)
|
||||
/*[!/.]*)
|
||||
FindByPath "$f" "$r" ;;
|
||||
*/*)
|
||||
Info "$f: invalid pathname: $r" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user