find-package (FindPackage): extra check for valid pathname, excludes "/"

This commit is contained in:
Alexey Tourbin 2007-11-23 11:51:32 +03:00
parent e56761c95f
commit 22854f6e29

View File

@ -369,7 +369,7 @@ FindPackage()
case "$r" in
/*[!$valid]*)
Info "$f: invalid pathname: $r" ;;
/*)
/*[!/.]*)
FindByPath "$f" "$r" ;;
*/*)
Info "$f: invalid pathname: $r" ;;