From d15b0f98f125b711c5095c0d4a61bf11a5a62bcf Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 28 Nov 2006 08:49:17 +0000 Subject: - Change LC_ALL=POSIX to LC_ALL=C and remove LANG=C as suggested by vapier. --- target/ext2/ext2root.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/ext2') diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index 56959b9fe..6e2e02a65 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -86,7 +86,7 @@ $(EXT2_BASE): host-fakeroot makedevs genext2fs >> $(STAGING_DIR)/_fakeroot.$(notdir $(EXT2_TARGET)) # Use fakeroot so genext2fs believes the previous fakery ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0) - GENEXT2_REALSIZE=`LANG=C LC_ALL=POSIX du -l -s -c -k $(TARGET_DIR) | grep total | sed -e "s/total//"`; \ + GENEXT2_REALSIZE=`LC_ALL=C du -l -s -c -k $(TARGET_DIR) | grep total | sed -e "s/total//"`; \ GENEXT2_ADDTOROOTSIZE=`if [ $$GENEXT2_REALSIZE -ge 20000 ] ; then echo 16384; else echo 2400; fi`; \ GENEXT2_SIZE=`expr $$GENEXT2_REALSIZE + $$GENEXT2_ADDTOROOTSIZE`; \ GENEXT2_ADDTOINODESIZE=`find $(TARGET_DIR) | wc -l`; \ -- cgit v1.2.3