From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 764BA1382C5 for ; Mon, 8 Feb 2021 22:32:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE6E6E092D; Mon, 8 Feb 2021 22:32:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99907E092D for ; Mon, 8 Feb 2021 22:32:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C100340D7B for ; Mon, 8 Feb 2021 22:32:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0AF64C2 for ; Mon, 8 Feb 2021 22:32:52 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1612823342.fc5ef56e4ec6c7fdf90c8b53d8b3a35bb7f7ef8f.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_funcs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: fc5ef56e4ec6c7fdf90c8b53d8b3a35bb7f7ef8f X-VCS-Branch: master Date: Mon, 8 Feb 2021 22:32:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 66e97c76-c2da-42ee-ac3c-0f9c3454b0a0 X-Archives-Hash: 58c52edfcdf88b2912e4fcca02f84196 commit: fc5ef56e4ec6c7fdf90c8b53d8b3a35bb7f7ef8f Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Feb 8 22:29:02 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Feb 8 22:29:02 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=fc5ef56e gen_funcs.sh: check_disk_space_requirements(): use global LC_ALL Since commit 0785165ca64 we set LC_ALL in global scope. Signed-off-by: Thomas Deutschmann gentoo.org> gen_funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_funcs.sh b/gen_funcs.sh index 72296e6..ab7a7ce 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -1853,7 +1853,7 @@ check_disk_space_requirements() { gen_die "--check-free-disk-space-bootdir value '${CHECK_FREE_DISK_SPACE_BOOTDIR}' is not a valid number!" fi - available_free_disk_space=$(unset POSIXLY_CORRECT && LC_ALL="C" df -BM "${BOOTDIR}" | awk '$3 ~ /[0-9]+/ { print $4 }') + available_free_disk_space=$(unset POSIXLY_CORRECT && df -BM "${BOOTDIR}" | awk '$3 ~ /[0-9]+/ { print $4 }') if [ -n "${available_free_disk_space}" ] then print_info 2 '' 1 0 @@ -1890,7 +1890,7 @@ check_disk_space_requirements() { gen_die "--check-free-disk-space-kerneloutputdir value '${CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR}' is not a valid number!" fi - available_free_disk_space=$(unset POSIXLY_CORRECT && LC_ALL="C" df -BM "${KERNEL_OUTPUTDIR}" | awk '$3 ~ /[0-9]+/ { print $4 }') + available_free_disk_space=$(unset POSIXLY_CORRECT && df -BM "${KERNEL_OUTPUTDIR}" | awk '$3 ~ /[0-9]+/ { print $4 }') if [ -n "${available_free_disk_space}" ] then print_info 2 '' 1 0