From 827f1fc21820965c53c92146432f84d14af4f081 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Sat, 13 Mar 2004 00:01:08 +0000 Subject: [PATCH] Switch to the C locale before greping for an english text. --- make/ext2root.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/ext2root.mk b/make/ext2root.mk index 5171ac2ed0..0c66c18a9a 100644 --- a/make/ext2root.mk +++ b/make/ext2root.mk @@ -34,7 +34,7 @@ genext2fs: $(GENEXT2_DIR)/genext2fs # How much KB we want to add to the calculated size for slack space #GENEXT2_ADDTOROOTSIZE=4096 GENEXT2_ADDTOROOTSIZE=16384 -GENEXT2_REALSIZE=$(subst total,, $(shell du $(TARGET_DIR) -s -c -k | grep total )) +GENEXT2_REALSIZE=$(subst total,, $(shell LANG=C du $(TARGET_DIR) -s -c -k | grep total )) GENEXT2_SIZE=$(shell expr $(GENEXT2_REALSIZE) + $(GENEXT2_ADDTOROOTSIZE)) # We currently add about 400 device nodes, so add that into the total GENEXT2_INODES=$(shell expr $(shell find $(TARGET_DIR) | wc -l) + 400) -- 2.30.2