summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-03-25 10:19:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-24 11:06:54 +0100
commitd997e75fc6afa2710deb12c7922795cedef830ae (patch)
treeab491036edc2e5a3dd778c366150a9191e2a3902 /meta/recipes-support/nss
parent9b1ad0ee2feec623a62b4734d71155a9c129fa21 (diff)
downloadpoky-d997e75fc6afa2710deb12c7922795cedef830ae.tar.gz
nss: improve the script signlibs.sh
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'. (From OE-Core rev: 7eba8ba126e8757d0b1d5c3a758748e42c3646ff) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss')
-rw-r--r--meta/recipes-support/nss/nss/signlibs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss/signlibs.sh b/meta/recipes-support/nss/nss/signlibs.sh
index 1ec79f4576..a74e499f8c 100644
--- a/meta/recipes-support/nss/nss/signlibs.sh
+++ b/meta/recipes-support/nss/nss/signlibs.sh
@@ -9,7 +9,7 @@
9# calculated on the host where they really need to be done on the 9# calculated on the host where they really need to be done on the
10# target 10# target
11 11
12CHK_FILES=`find /lib* /usr/lib* -name "*.chk"` 12CHK_FILES=`ls /lib*/*.chk /usr/lib*/*.chk 2>/dev/null`
13SIGN_BINARY=`which shlibsign` 13SIGN_BINARY=`which shlibsign`
14for I in $CHK_FILES 14for I in $CHK_FILES
15do 15do