aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-08 23:28:01 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-08 23:28:01 +0100
commit24b33a6f4657df846e70c65e85a88d5c7578b004 (patch)
tree77344f780739596c4e164a8c56c2e269c1282060
parentgen_initramfs.sh: remove unused function is_static() (diff)
downloadgenkernel-24b33a6f4657df846e70c65e85a88d5c7578b004.tar.gz
genkernel-24b33a6f4657df846e70c65e85a88d5c7578b004.tar.bz2
genkernel-24b33a6f4657df846e70c65e85a88d5c7578b004.zip
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@gentoo.org>
-rwxr-xr-xgen_initramfs.sh2
1 files changed, 1 insertions, 1 deletions
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