find-package (FindByPath): consider (not-so-) broken symbolic links inside RPM_BUILD_ROOT
This commit is contained in:
parent
d74f8d9a69
commit
8dd5a961e8
@ -70,7 +70,7 @@ FindByPath()
|
||||
fi
|
||||
|
||||
# Does it belong to buildroot?
|
||||
if [ -n "${RPM_BUILD_ROOT-}" ] && [ -e "$RPM_BUILD_ROOT$rep" ]; then
|
||||
if [ -n "${RPM_BUILD_ROOT-}" ] && [ -e "$RPM_BUILD_ROOT$rep" -o -L "$RPM_BUILD_ROOT$rep" ]; then
|
||||
$Verbose "$f: $rep -> \$RPM_BUILD_ROOT$rep (skip)"
|
||||
return
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user