From f27e41dda780f782d44551b0a88b834521852742 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 16 Feb 2019 15:09:44 +0100 Subject: [PATCH] common/hooks/pre-pkg/generate-runtime-deps: fix usage of skiprdeps in subpackages --- common/hooks/pre-pkg/04-generate-runtime-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh index 498d828934..5ca384a520 100644 --- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh +++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh @@ -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