summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-09-11 09:25:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:41 +0100
commit30b0d0a5f3420edb0f66142dd9ef407148b7855b (patch)
treec56eb03d49307df0903337617336763af87ad55d /helpers/lh_binary_usb-hdd
parent107125bae8b266b5a1cbef582bc51c3ef5e08657 (diff)
downloadlive-build-30b0d0a5f3420edb0f66142dd9ef407148b7855b.zip
live-build-30b0d0a5f3420edb0f66142dd9ef407148b7855b.tar.gz
Simplyfing partition size check when enforcing fat32.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd2
1 files changed, 1 insertions, 1 deletions
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"