1 |
commit: 24b33a6f4657df846e70c65e85a88d5c7578b004 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 22:28:01 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 22:28:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=24b33a6f |
7 |
|
8 |
gen_initramfs.sh: copy_binaries(): use global LC_ALL |
9 |
|
10 |
Since commit 0785165ca64 we set LC_ALL in global scope. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
gen_initramfs.sh | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/gen_initramfs.sh b/gen_initramfs.sh |
18 |
index 3fc400d..f5fcd98 100755 |
19 |
--- a/gen_initramfs.sh |
20 |
+++ b/gen_initramfs.sh |
21 |
@@ -37,7 +37,7 @@ copy_binaries() { |
22 |
[[ -e "${binary}" ]] \ |
23 |
|| gen_die "Binary ${binary} could not be found" |
24 |
|
25 |
- if LC_ALL=C "${LDDTREE_COMMAND}" "${binary}" 2>&1 | grep -F -q 'not found' |
26 |
+ if "${LDDTREE_COMMAND}" "${binary}" 2>&1 | grep -F -q 'not found' |
27 |
then |
28 |
gen_die "Binary ${binary} is linked to missing libraries and may need to be re-built" |
29 |
fi |