From 30b0d0a5f3420edb0f66142dd9ef407148b7855b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Sep 2008 09:25:20 +0200 Subject: Simplyfing partition size check when enforcing fat32. --- helpers/lh_binary_usb-hdd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd index c93e225..1ea80ae 100755 --- a/helpers/lh_binary_usb-hdd +++ b/helpers/lh_binary_usb-hdd @@ -99,7 +99,7 @@ then fi # Enforce fat32 if we have images in total bigger than 2GB -if [ "${LH_BINARY_FILESYSTEM}" = "fat16" ] && [ "$(cd binary && du -s | awk '{ print $1 }')" -gt "1900000" ] +if [ "${LH_BINARY_FILESYSTEM}" = "fat16" ] && [ "$(du -s binary | awk '{ print $1 }')" -gt "1900000" ] then Echo_warning "FAT16 doesn't support partitions larger than 2GB, automatically enforcing FAT32" -- cgit v1.0