From: Jackie Huang <[email protected]>

The *.chk files are installed in ${libdir} by nss,
which is already known, no need to 'find' to get the
file list, and 'ls' is more faster than 'find'.

Signed-off-by: Jackie Huang <[email protected]>
---
 meta/recipes-support/nss/nss/signlibs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/nss/nss/signlibs.sh 
b/meta/recipes-support/nss/nss/signlibs.sh
index 1ec79f4..a74e499 100644
--- a/meta/recipes-support/nss/nss/signlibs.sh
+++ b/meta/recipes-support/nss/nss/signlibs.sh
@@ -9,7 +9,7 @@
 # calculated on the host where they really need to be done on the
 # target
 
-CHK_FILES=`find /lib* /usr/lib* -name "*.chk"`
+CHK_FILES=`ls /lib*/*.chk /usr/lib*/*.chk 2>/dev/null`
 SIGN_BINARY=`which shlibsign`
 for I in $CHK_FILES
 do
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to