tools/livecd-iso-to-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3ba05281c9c82a91f7a4d5c4475f4802294626ff Author: Brian C. Lane bcl@redhat.com Date: Tue Jan 7 13:32:31 2014 -0800
Use LC_ALL=C for parted calls (#1045854)
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