common/hooks/pre-pkg/generate-runtime-deps: fix usage of skiprdeps in subpackages

This commit is contained in:
John 2019-02-16 15:09:44 +01:00 committed by John Zimmermann
parent ea82157fab
commit f27e41dda7
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ hook() {
exec 3<&0 # save stdin
exec < $depsftmp
while read f; do
lf=${f#${DESTDIR}}
lf=${f#${PKGDESTDIR}}
if [ "${skiprdeps/${lf}/}" != "${skiprdeps}" ]; then
msg_normal "Skipping dependency scan for ${lf}\n"
continue