commit:     24b33a6f4657df846e70c65e85a88d5c7578b004
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 22:28:01 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 22:28:01 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=24b33a6f

gen_initramfs.sh: copy_binaries(): use global LC_ALL

Since commit 0785165ca64 we set LC_ALL in global scope.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_initramfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 3fc400d..f5fcd98 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -37,7 +37,7 @@ copy_binaries() {
                [[ -e "${binary}" ]] \
                        || gen_die "Binary ${binary} could not be found"
 
-               if LC_ALL=C "${LDDTREE_COMMAND}" "${binary}" 2>&1 | grep -F -q 
'not found'
+               if "${LDDTREE_COMMAND}" "${binary}" 2>&1 | grep -F -q 'not 
found'
                then
                        gen_die "Binary ${binary} is linked to missing 
libraries and may need to be re-built"
                fi

Reply via email to