From 3ba05281c9c82a91f7a4d5c4475f4802294626ff Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 7 Jan 2014 13:32:31 -0800 Subject: [PATCH] Use LC_ALL=C for parted calls (#1045854) --- tools/livecd-iso-to-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 5f4b697..cccb225 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -532,7 +532,7 @@ checkGPT() { dev=$1 getdisk $dev - if [ "$(/sbin/parted -m $device p 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then + if [ "$(LC_ALL=C /sbin/parted -m $device p 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then echo "EFI boot requires a GPT partition table." echo "This can be done manually or you can run with --format" exitclean -- 2.11.4.GIT